home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1998 #2 / Amiga Plus CD - 1998 - No. 2.iso / multimedia / scene-demos / erdnuss / ahiusr.lha / AHI / Install AHI < prev    next >
Text File  |  1997-08-19  |  75KB  |  2,548 lines

  1. ; $VER: AHI Install 4.11 (13.8.97)
  2. ; Description: Installer script for the AHI audio system (© 1996, 1997 Martin Blom).
  3. ; Done my Martin Blom, partly based on Teemu Suikki's install script.
  4. ; Public domain.
  5.  
  6. (set #complete 0)
  7. (set #completeadd (/ 1000 35))    ; There are 35 complete statements!
  8.  
  9. (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  10.  
  11. (set #osversion (/ (getversion "exec.library" (resident)) 65536))
  12.  
  13. ;**
  14. ;** All the strings
  15. ;**
  16.  
  17.     (set #t_welcome        (cat
  18.         " Welcome to the AHI installation. AHI is a retargetable"
  19.         " audio systems that can be used with both the built-in"
  20.         " sound chip (Paula) and several sound cards. This is version"
  21.         " 4."
  22.     ))
  23.     (set #t_oldinstaller    (cat
  24.         " You have an old version of the Installer. I'll probably"
  25.         " need version 43.3 or greater. You can continue anyway"
  26.         " but there is no guarantee it will work as it's supposed"
  27.         " to do.\n"
  28.         " Do you wish to continue anyway?"
  29.     ))
  30.     (set #t_oldinstallerhelp (cat
  31.         " The version of Installer you use is too old. You can"
  32.         " find a more recent version on the Internet, for example"
  33.         " on Aminet, in the util/misc directory. The current"
  34.         " file name is \"Installer-43_3.lha\":\n"
  35.         " <URL:ftp://ftp.germany.aminet.org/pub/aminet/util/misc/Installer-43_3.lha"
  36.     
  37.     ))
  38.     (set #t_installaborted    "Installation aborted.")
  39.  
  40.     (set #t_installing    "Installing ")
  41.     (set #t_installingdocs    "Installing developer documentation")
  42.     (set #t_installingincs    "Installing include files")
  43.     (set #t_installingsrc    "Installing example source code")
  44.     (set #t_nofiles        "No files to install.")
  45.  
  46.     (set #t_nohelp        "No help available.")
  47.  
  48.     (set #t_parts        "Which parts of AHI do you wish to install?")
  49.     (set #t_system        "System files")
  50.     (set #t_prefs        "Preferences program")
  51.     (set #t_audio        "The AUDIO handler");
  52.     (set #t_userdoc        "User's documentation")
  53.     (set #t_a-developer    "Application developer files")
  54.     (set #t_d-developer    "Driver developer files")
  55.     (set #t_userhelp    (cat
  56.         "System files:\n"
  57.         " The system files. This is the heart of AHI and must be"
  58.         " if for any of the other components to work.\n\n"
  59.         "Preferences program:\n"
  60.         " The preference program. Can be used to change many options"
  61.         " in AHI. This part of AHI requires BGUI or MUI to be installed.\n\n"
  62.         "The AUDIO handler:\n"
  63.         " Allows you to play and record samples with the 'copy'"
  64.         " command.\n\n"
  65.         "User's documentation:\n"
  66.         " An AmigaGuide® file descibing the AHI audio system and"
  67.         " its components.\n\n"
  68.     ))
  69.     (set #t_devhelp        (cat
  70.         "Application developer files:\n"
  71.         " Autodocs, include files, example source code etc."
  72.         " Required if you wish to use AHI in your own applications.\n\n"
  73.         "Driver developer files:\n"
  74.         " Autodocs, example source code etc. Only required"
  75.         " if you plan to write hardware drivers for sound"
  76.         " cards.\n\n"
  77.     ))
  78.  
  79.     (set #t_gui        (cat
  80.         " Which version of the preferences program would you like"
  81.         " to install?"
  82.     ))
  83.     (set #t_guihelp        (cat
  84.         " Please select which GUI system you prefer.\n\n"
  85.     ))
  86.     (set #t_guibgui        "BGUI version")
  87.     (set #t_guimui        "MUI version")
  88.  
  89.     (set #t_icon         "Which icon do you want to install?")
  90.     (set #t_iconstd        "Plain 4 colour icon")
  91.     (set #t_iconmwb        "8 colour MagicWB icon")
  92.     (set #t_iconhelp    (cat
  93.         " Select which icon you would like to use for the prefernces"
  94.         " program. The MagicWB icon was designed by Erol Ismael.\n\n"
  95.     ))
  96.  
  97.     (set #t_languages    (cat
  98.         "Which languages do you want to install?"
  99.         " The built-in language is English."))
  100.     (set #t_languageshelp    (cat
  101.         " If your language is not in the list, the author of AHI"
  102.         " would be very happy if you made a translation. Edit the files"
  103.         " User/Catalogs/ahi.ct and User/Catalogs/ahiprefs.ct"
  104.         " and send it to this address:\n"
  105.         " lcs@lysator.liu.se\n"
  106.         " It may be a wise move to ask first, just to make sure nobody"
  107.         " else is working on a translation to your language.\n\n"
  108.     ))
  109.  
  110.     (set #t_drivers        (cat
  111.         "Which AHI drivers you want to install?"
  112.         " Do not install drivers for sound cards you don't have."))
  113.     (set #t_drivershelp    (cat
  114.         "Delfina:\n"
  115.         " Delfina Classic/Lite sound card.\n\n"
  116.         "Filesave:\n"
  117.         " Read/Write sample data to a file.\n\n"
  118.         "Melody MPEG:\n"
  119.         " Melody MPEG sound card.\n\n"
  120.         "Paula:\n"
  121.         " Regular Amiga sound hardware.\n\n"
  122.         "Prelude:\n"
  123.         " Prelude sound card.\n\n"
  124.         "Toccata:\n"
  125.         " Toccata sound card.\n\n"
  126.         "Wavetools:\n"
  127.         " Wavetools sound card.\n\n"
  128.     ))
  129.  
  130.     (set #t_CPUver        "Which version of the binaries do you wish to install?")
  131.     (set #t_CPUverhelp    (cat
  132.         " 68020-optimized binaries are much faster, and often also"
  133.         " smaller than plain 68000 versions. In the case of AHI,"
  134.         " the 68000 versions have less features and reduced sound"
  135.         " quality. It is strongly suggested that you use the"
  136.         " 68020 versions of the binaries.\n"
  137.                 " The 68060 version avoids the slow 64 bit divisions. Don't"
  138.                 " install this version unless you own a 68060 CPU!\n\n"
  139.     ))
  140.  
  141.     (set #t_devfiles    "Which developer files do you wish to install?")
  142.     (set #t_devdocs        "Autodocs and AHI Developer's Guide")
  143.     (set #t_source        "Example source code")
  144.     (set #t_asm        "Assembler include files")
  145.     (set #t_cgen        "Generic C include files")
  146.     (set #t_e        "E module files")
  147.     (set #t_fd        "FD files")
  148.     (set #t_ade        "Extra ADE gcc include files")
  149.     (set #t_sas        "Extra SAS/C (and DICE) include files")
  150.     (set #t_storm        "Extra StormC include files")
  151.     (set #t_devfileshelp    (cat
  152.         "Autodocs and AHI Developer's Guide:\n"
  153.         " The autodocs and rules for programming AHI.\n\n"
  154.         "Example source code:\n"
  155.         " Some example programs, most of them are written in C, but"
  156.         " there are some assembler sources too.\n\n"
  157.         "Assembler include files:\n"
  158.         " Include files needed if you program in assembler.\n\n"
  159.         "Generic C include files:\n"
  160.         " Include files needed if you program in C.\n\n"
  161.         "E module files:\n"
  162.         " The module files to use with AmigaE.\n\n"
  163.         "FD files:\n"
  164.         " Can be used with the 'lvo' tool, or when you build a"
  165.         " hardware driver written in C.\n\n"
  166.         "Extra ADE gcc include files:\n"
  167.         " The special include files for gcc (inline, proto etc).\n\n" 
  168.         "Extra SAS/C (and DICE) include files:\n"
  169.         " The special include files for SAS/C (pragmas, proto etc)."
  170.         " They work with DCC too, but with no tag calls.\n\n"
  171.         "Extra StormC include files:\n"
  172.         " The special include files for StormC (pragma, proto etc).\n\n"
  173.     ))
  174.  
  175.  
  176.     (set #t_nodevs
  177.         "Cannot find the Devs: assign. Try a higher userlevel instead.")
  178.     (set #t_noc
  179.         "Cannot find the C: assign. Try a higher userlevel instead.")
  180.     (set #t_noprefs
  181.         "Cannot find the Sys:Prefs directory. Try a higher userlevel instead.")
  182.     (set #t_nol
  183.         "Cannot find the L: assign. Try a higher userlevel instead.")
  184.     (set #t_devspath    "Where do you want to install the system files?")
  185.     (set #t_devspathhelp    (cat
  186.         " The directory you select must be a part of your Devs: assign."
  187.         " The installer will copy ahi.device, the hardware drivers"
  188.         " and the audio mode description files to this directory."
  189.         " Subdirectories for the drivers and mode files will be"
  190.         " created.\n\n"
  191.     ))
  192.     (set #t_cpath        "Where do you want to install AddAudioModes?")
  193.     (set #t_cpathhelp    (cat
  194.         " AddAudioModes is a small command line utility that can"
  195.         " be used to manipulate the database which contains the"
  196.         " audio modes (much like the screenmode database)."
  197.         " CLI programs are normally located in the C: directory.\n\n"
  198.     ))
  199.  
  200.  
  201.     (set #t_localepath    "Where do you want to install the catalogs?")
  202.     (set #t_localepathhelp    (cat
  203.         " The directory you select must be a part of your Locale: assign."
  204.         " The installer will copy the catalogs you have selected to"
  205.         " subdirectories in this directory.\n\n"
  206.     ))
  207.  
  208.     (set #t_prefspath    "Where do you want to install the preferences program?")
  209.     (set #t_prefspathhelp    (cat
  210.         " The preferences program lets you configure AHI for your particular"
  211.         " configuration. You can select which sound hardware you prefer"
  212.         " to use, which physical inputs and outputs you wish to use"
  213.         " etc. Preferences programs are normally located in the"
  214.         " Sys:Prefs/ directory.\n"
  215.         " This program requires BGUI or MUI, depending on which version"
  216.         " you are installing.\n\n"
  217.     ))
  218.  
  219.     (set #t_audiohelp    (cat
  220.         " The AUDIO handler is used to mount a device called AUDIO:. By"
  221.         " copying files to and from this device, you can play and record"
  222.         " raw sample data, IFF-AIFF or IFF-AIFC files.\n\n"
  223.     ))
  224.  
  225.     (set #t_lpath        "Where do you want to install the AUDIO handler?")
  226.     (set #t_lpathhelp    (cat
  227.         #t_audiohelp
  228.         " Handlers are normally located in the L: directory.\n\n"
  229.     ))
  230.  
  231.     (set #t_dosdevpath    "Where do you want to install the AUDIO mount entry?")
  232.     (set #t_dosdevpathhelp    (cat
  233.         #t_audiohelp
  234.         " Mount entries are normally located in the Devs:DOSDrivers"
  235.         " directory if they are to be mounted at boot time. If not, they"
  236.         " probably are in the SYS:Storage/DOSDrivers directory.\n\n"
  237.     ))
  238.  
  239.     (set #t_dosdriver    "Do you want the handler to be activated at boot time?")
  240.     (set #t_dosdriverhelp    (cat
  241.         " If you want, the AUDIO: device can be made avaliable as soon as"
  242.         " your system has been started. This saves you the effort of"
  243.         " having to mount it manually when you want to use it. It does"
  244.         " not require much memory to mount the device and it is therefor"
  245.         " suggested that you select 'Yes'.\n\n"
  246.     ))
  247.  
  248.     (set #t_userdocpath    "Where do you want to install the user documentation?")
  249.     (set #t_userdocpathhelp    (cat
  250.         " This is an AmigaGuide® file descibing the AHI audio system"
  251.         " and its components.\n\n"
  252.     ))
  253.  
  254.     (set #t_srcpath        (cat
  255.         " Where do you want to install the example source code?"
  256.         " A directory called AHI will be created there."
  257.     ))
  258.     (set #t_srcpathhelp    (cat
  259.         " The example sources, in both C and assembler, will be"
  260.         " stored in a subdirectory called AHI. Any files currently"
  261.         " present in the AHI directory will be deleted!\n\n"
  262.     ))
  263.     (set #t_oldsrc        (cat
  264.         " There is already a directory called AHI here."
  265.         " All files in it will be deleted."
  266.     ))
  267.  
  268.     (set #t_devdocspath    " Where do you want to store the developer documentation?")
  269.     (set #t_devdocspathhelp    (cat
  270.         " The installer will place the autodoc files and the"
  271.         " AHI Developer's Guide in the directory you select.\n\n"
  272.     ))
  273.  
  274.     (set #t_aincpath    " Where are your assembler include files located?")
  275.     (set #t_aincpathhelp    (cat
  276.         " The installer will place the assembler include files"
  277.         " in subdirectories (lvo, devices and libraries)"
  278.         " of the one you select.\n\n"
  279.     ))
  280.  
  281.     (set #t_fdpath        " Where do you keep your FD-files?")
  282.     (set #t_fdpathhelp    (cat
  283.         " FD-files are files describing a library's or a device's"
  284.         " functions. They can be used with the 'lvo' program, and"
  285.         " can also be useful if you write hardware drivers.\n\n"
  286.     ))
  287.  
  288.     (set #t_cincpath    " Where are your C include files located?")
  289.     (set #t_cincpathhelp    (cat
  290.         " The installer will place the generic C include files"
  291.         " in subdirectories (clib, devices and libraries)"
  292.         " of the one you select.\n\n"
  293.     ))
  294.  
  295.     (set #t_emodpath    " Where are your E module files located?")
  296.     (set #t_emodpathhhelp    (cat
  297.         " The installer will place the E module files in the directory"
  298.         " and in subdirectories (devices and libraries)"
  299.         " of the one you select.\n\n"
  300.     ))
  301.  
  302.     (set #t_adeincpath    " Where do you want to place the ADE gcc include files?")
  303.     (set #t_adeincpathhelp    (cat
  304.         " gcc needs some extra files to find out which registers"
  305.         " to use when calling AHI functions. That information is"
  306.         " located in these files, which will be copied to the"
  307.         " inline, pragmas and proto directories.\n\n"
  308.     ))
  309.  
  310.     (set #t_sasincpath    " Where do you want to place the SAS/C (and DICE) include files?")
  311.     (set #t_sasincpathhelp    (cat
  312.         " SAS/C (and DICE) needs some extra files to find out which registers"
  313.         " to use when calling AHI functions. That information is"
  314.         " located in these files, which will be copied to the"
  315.         " pragmas and proto directories.\n\n"
  316.     ))
  317.  
  318.     (set #t_stormincpath    " Where do you want to place the StormC include files?")
  319.     (set #t_stormincpathhelp (cat
  320.         " StormC needs some extra files to find out which registers"
  321.         " to use when calling AHI functions. That information is"
  322.         " located in these files, which will be copied to the"
  323.         " pragma and proto directories.\n\n"
  324.     ))
  325.  
  326.     (set #t_ahidevhelp    (cat
  327.         " ahi.device is the heart of the AHI"
  328.         " audio system. This is the only part"
  329.         " that other programs knows anything about.\n\n"
  330.     ))
  331.  
  332.     (set #t_runaddmodes    (cat
  333.         " About to run AddAudioModes to recreate"
  334.         " the audio modes database."
  335.     ))
  336.  
  337.  
  338.     (set #t_overwritemode1
  339.         " There is already a copy of the audio mode descriptor ")
  340.     (set #t_overwritemode2 " present in ")
  341.     (set #t_overwritemode3    (cat
  342.         ".\n\n"
  343.         " Do you want to overwrite it?"
  344.         " All changes you have done to to it will be lost!"
  345.     ))
  346.  
  347.  
  348. (if (= @language "srpski")
  349. (    ; Translated by Ljubomir Jankovic <lurch@afrodita.rcub.bg.ac.yu>
  350.     (set #t_welcome        (cat
  351.         " Dobrodoãli u AHI instalaciju. AHI je retargetable"
  352.         " audio sistem koji moäe biti koriãáen sa ugraâenim"
  353.         " zvuànim àipom (Paula) i viãe zvuànih kartica."
  354.         " Ovo je verzija 4."
  355.     ))
  356.     (set #t_oldinstaller    (cat
  357.         " Vi imate staru verziju Installer-a. Verovatno áe mi"
  358.         " trebati verzija 43.3 ili viãa. Moäete nastaviti, ali"
  359.         " nema garancije da áe sve raditi kako je predviâeno.\n"
  360.         " Da li stvarno äelite da nastavite?"
  361.     ))
  362.     (set #t_oldinstallerhelp (cat
  363.         " Verzija Installer-a koju koristite previãe stara. Moäete"
  364.         " naái najnoviju verziju na Internetu, na primer"
  365.         " na Aminet-u, u direktorijumu util/misc. Trenutno ime"
  366.         " fajla je \"Installer-43_3.lha\":\n"
  367.         " <URL:ftp://ftp.germany.aminet.org/pub/aminet/util/misc/Installer-43_3.lha"
  368.  
  369.     ))
  370.     (set #t_installaborted    "Instalacija prekinuta.")
  371.  
  372.     (set #t_installing    "Instaliram ")
  373.     (set #t_installingdocs    "Instaliram dokumentaciju za programere")
  374.     (set #t_installingincs    "Instaliram include fajlove")
  375.     (set #t_installingsrc    "Instaliram primere izvornog koda")
  376.     (set #t_nofiles        "Nema fajlova za instaliranje.")
  377.  
  378.     (set #t_nohelp        "Pomoá nije dostupna.")
  379.  
  380.     (set #t_parts        "Koje delove AHI-ja äelite de instalirate?")
  381.     (set #t_system        "Sistemske fajlove")
  382.     (set #t_prefs        "Program za podeãavanja")
  383.     (set #t_audio        "AUDIO hendler");
  384.     (set #t_userdoc        "Korisniàka dokumentacija")
  385.     (set #t_a-developer    "Fajlovi za razvoj aplikacija")
  386.     (set #t_d-developer    "Fajlovi za razvoj drajvera")
  387.     (set #t_userhelp    (cat
  388.         "Sistemski fajlovi:\n"
  389.         " Ovo je srce AHI-ja i mora postojati"
  390.         " da bi radile ostale komponente.\n\n"
  391.         "Program za podeãavanja:\n"
  392.         " Moäe se koristiti za podeãavanje mnogih opcija"
  393.         " AHI-ja. Ovaj deo AHI-ja zahteva da se instalira BGUI.\n\n"
  394.         "AUDIO hendler:\n"
  395.         " Omoguáava Vam da puãtate i snimate semplove komandom"
  396.         " 'copy'.\n\n"
  397.         "Korisniàka dokumentacija:\n"
  398.         " AmigaGuide® fajl koji opisuje AHI audio sistem i"
  399.         " njegove komponente.\n\n"
  400.     ))
  401.     (set #t_devhelp        (cat
  402.         "Fajlovi za razvoj aplikacija:\n"
  403.         " Autodokovi, include fajlovi, primeri izvornog koda itd."
  404.         " Oni su neophodni ako äelite da koritite AHI u svoji aplikacijama.\n\n"
  405.         "Fajlovi za razvoj drajvera:\n"
  406.         " Autodokovi, primeri izvornog koda itd. Potrebni su"
  407.         " samo ako planirate da razvijate hardverske drajvere za"
  408.         " zvuàne kartice.\n\n"
  409.     ))
  410.  
  411.  
  412.     (set #t_languages    (cat
  413.         "Koje jezike äelite da instalirate?"
  414.         " Ugraâeni jezik je Engleski."))
  415.     (set #t_languageshelp    (cat
  416.         " Ako se Vaã jezik ne nalazi na listi, autor AHI-ja"
  417.         " bi bio veoma sreáan, ako bi napravili prevod. Promenite fajlove"
  418.         " User/Catalogs/NewCatalog.ct i User/Catalogs/NewPrefsCatalog.ct"
  419.         " i poãaljite na ovu adresu:\n"
  420.         " lcs@lysator.liu.se\n\n"
  421.     ))
  422.  
  423.     (set #t_drivers        (cat
  424.         "Koje AHI drajvere äelite da instalirate?"
  425.         " Najbolje je da instalirate samo drajvere koji su Vam potrebni."))
  426.     (set #t_drivershelp    (cat
  427.         "Delfina:\n"
  428.         " Delfina Classic/Lite zvuàna kartica.\n\n"
  429.         "Filesave:\n"
  430.         " Àitanje/zapis zvuànih podataka u fajl.\n\n"
  431.         "Melody MPEG:\n"
  432.         " Melody MPEG zvuàna kartica.\n\n"
  433.         "Paula:\n"
  434.         " Obiàan Amigin zvuàni hardver.\n\n"
  435.         "Prelude:\n"
  436.         " Prelude zvuàna kartica.\n\n"
  437.         "Toccata:\n"
  438.         " Toccata zvuàna kartica.\n\n"
  439.         "Wavetools:\n"
  440.         " Wavetools zvuàna kartica.\n\n"
  441.     ))
  442.     (set #t_CPUver        "Koju verziju programskih fajlova äelite da instalirate?")
  443.     (set #t_CPUverhelp    (cat
  444.         " Fajlovi optimizovani za 68020 su bräi, i obiàno"
  445.         " manji nego njihove 68000 verzije. U sluàaju AHI-ja,"
  446.         " verzije za 68000 imaju manje moguánosti i smanjen"
  447.         " kvalitet zvuka. Zaista Vam preporuàujem da instalirate"
  448.         " verzije fajlova za 68020.\n"
  449.         " Verzija za 68060 izbegava sporo 64-vorobitno deljenje. Nemojte"
  450.         " instalirati ovu verziju ako nemate 68060 procesor!\n\n"
  451.     ))
  452.  
  453.     (set #t_devfiles    "Koje programerske fajlove äelite da instalirate?")
  454.     (set #t_devdocs        "Autodokove i AHI Vodià za programere")
  455.     (set #t_source        "Primeri izvornog koda")
  456.     (set #t_asm        "Include fajlove za asembler")
  457.     (set #t_cgen        "Opãte include fajlove za C")
  458.     (set #t_e        "E module")
  459.     (set #t_fd        "FD fajlove")
  460.     (set #t_ade        "Dodatne ADE gcc include fajlove")
  461.     (set #t_sas        "Dodatne SAS/C (i DICE) include fajlove")
  462.     (set #t_storm        "Dodatne StormC include fajlove")
  463.     (set #t_devfileshelp    (cat
  464.         "Autodokovi i AHI Vodià za programere:\n"
  465.         " Autodokovi i pravila za programiranje AHI-ja.\n\n"
  466.         "Primeri izvornog koda:\n"
  467.         " Neki programi za primer, veáina napisan u C-u, ali ima"
  468.         " i neãto izvornog koda u asembleru.\n\n"
  469.         "Include fajlovi za asembler:\n"
  470.         " Include fajlovi koji su potrebni ako programirate u asembleru.\n\n"
  471.         "Opãti include fajlovi za C:\n"
  472.         " Include fajlovi koji su potrebni ako programirate u C-u.\n\n"
  473.         "E moduli:\n"
  474.         " Moduli za koriãáenje u Amiga E-u.\n\n"
  475.         "FD fajlovi:\n"
  476.         " Mogu se koristiti sa programom 'lvo', ili kada pravite"
  477.         " hardverski drajver napisan u C-u.\n\n"
  478.         "Dodatni ADE gcc include fajlovi:\n"
  479.         " Specijalni include fajlovi za gcc (inline, proto itd.).\n\n"
  480.         "Dodatni SAS/C (i DICE) include fajlovi:\n"
  481.         " Specijalni include fajlovi za SAS/C (pragma, proto itd.)."
  482.         " Rade i sa DCC-om, ali bez poziva tag-ova.\n\n"
  483.         "Dodatni StormC include fajlovi:\n"
  484.         " Specijalni include fajlovi za StormC (pragma, proto itd.).\n\n"
  485.     ))
  486.  
  487.  
  488.     (set #t_nodevs
  489.         "Ne mogu da naâem Devs: asajn. Pokuãajte viãi korisniàki nivo.")
  490.     (set #t_noc
  491.         "Ne mogu da naâem C: asajn. Pokuãajte viãi korisniàki nivo.")
  492.     (set #t_noprefs
  493.         "Ne mogu da naâem Sys:Prefs directory. Pokuãajte viãi korisniàki nivo.")
  494.     (set #t_nol
  495.         "Ne mogu da naâem L: asajn. Pokuãajte viãi korisniàki nivo.")
  496.     (set #t_devspath    "Gde äelite da instalirate sistemske fajlove?")
  497.     (set #t_devspathhelp    (cat
  498.         " Direktorijum koji odaberete mora biti deo Vaãeg Devs: asajna."
  499.         " Installer áe kopirati ahi.device, hardverske drajvere"
  500.         " i fajlove sa opisima audio modova u ovaj direktorijum."
  501.         " Poddirektorijumi za drajvere i fajlove sa opisima modova"
  502.         " áe biti napravljeni.\n\n"
  503.     ))
  504.     (set #t_cpath        "Gde äelite da instalirate AddAudioModes?")
  505.     (set #t_cpathhelp    (cat
  506.         " AddAudioModes je mali CLI program koji se moäe koristiti"
  507.         " za manipulaciju baze podataka koja sadräi audio modove"
  508.         " (vrlo sliàno bazi podataka sa moguáim rezolucijama ekrana)."
  509.         " CLI programi se obiàno nalaze u C: direktorijumu.\n\n"
  510.     ))
  511.  
  512.  
  513.     (set #t_localepath    "Gde äelite da instalirate kataloge?")
  514.     (set #t_localepathhelp    (cat
  515.         " Direktorijum koji odaberete mora biti deo Locale: asajna."
  516.         " Installer áe kopirati kataloge koje odaberete u"
  517.         " poddirektorijume u ovom direktorijumu.\n\n"
  518.     ))
  519.  
  520.     (set #t_prefspath    "Gde äelite da instalirate program za podeãavanja?")
  521.     (set #t_prefspathhelp    (cat
  522.         " Program za podeãavanja Vam omoguáava da podesite AHI vaãoj"
  523.         " konkretnoj konfiguraciji. Moäete odabrati koji zvuàni hardver"
  524.         " äelite da koristite, koje fiziàke ulaze i izlaze äelite da"
  525.         " koritite itd. Programi za podeãavanja se obiàno nalaze u"
  526.         " Sys:Prefs/ direktorijumu.\n"
  527.         " Ovaj program zahteva BGUI biblioteku.\n\n"
  528.     ))
  529.  
  530.     (set #t_audiohelp    (cat
  531.         " AUDIO hendler se koristi za mount-ovanje AUDIO: ureâaja. Kopirajuái"
  532.         " fajlove na i sa ureâaja, moäete puãtati i snimati sirove zvuàne"
  533.         " podatke, IFF-AIFF ili IFF-AIFC fajlove.\n\n"
  534.     ))
  535.  
  536.     (set #t_lpath        "Gde äelite da instalirate AUDIO hendler?")
  537.     (set #t_lpathhelp    (cat
  538.         #t_audiohelp
  539.         " Hendleri se obiàno nalaze u L: direktorijumu.\n\n"
  540.     ))
  541.  
  542.     (set #t_dosdevpath    "Gde äelite da instalirate fajl za mount-ovanje AUDIO hendlera?")
  543.     (set #t_dosdevpathhelp    (cat
  544.         #t_audiohelp
  545.         " Mount fajlovi se nalaze u direktorijumu Devs:DOSDrivers"
  546.         " ako treba da se mount-uju pri dizanju sistema. Ako ne, onda"
  547.         " se verovatno nalaze u SYS:Storage/DOSDrivers direktorijumu.\n\n"
  548.     ))
  549.  
  550.     (set #t_dosdriver    "Da li äelite da hendler bude instaliran pri dizanju sistema?")
  551.     (set #t_dosdriverhelp    (cat
  552.         " Ako äelite, AUDIO: ureâaj moäe biti dostupan àim se digne sistem."
  553.         " Ovo vam omoguáava da ne morate da mount-ujete ureâaj svaki put"
  554.         " kada äelite da ga koristite. Ureâaj ne zahteva mnogo memorije"
  555.         " i zato preporuàujem da da odaberete 'Da'.\n\n"
  556.     ))
  557.  
  558.     (set #t_userdocpath    "Gde äelite da instalirate korisniàku dokumentaciju?")
  559.     (set #t_userdocpathhelp    (cat
  560.         " Ovo je AmigaGuide® fajl koji opisuje AHI audio sistem"
  561.         " i njegove komponente.\n\n"
  562.     ))
  563.  
  564.     (set #t_srcpath        (cat
  565.         " Gde äelite da instalirate primere izvornog koda?"
  566.         " Direktorijum sa imenom AHI biáe napravljen tamo."
  567.     ))
  568.     (set #t_srcpathhelp    (cat
  569.         " Primeri izvornog koda, i u C-u i asembleru, áe biti"
  570.         " stavljeni u poddirektorijum imena AHI. Svi fajlovi koji"
  571.         " se nalaze u AHI direktorijumu áe biti obrisani!\n\n"
  572.     ))
  573.     (set #t_oldsrc        (cat
  574.         " Ovde veá postoji direktorijum imena AHI."
  575.         " Svi fajlovi u njemu áe biti obrisani."
  576.     ))
  577.  
  578.     (set #t_devdocspath    " Gde äelite da stavite dokumentaciju za programere?")
  579.     (set #t_devdocspathhelp    (cat
  580.         " Installer áe staviti autodok fajlove i dokumentaciju za"
  581.         " razvoj AHI-ja direktorijum koji odaberete.\n\n"
  582.     ))
  583.  
  584.     (set #t_aincpath    " Gde se nalaze Vaãi include fajlovi za asembler?")
  585.     (set #t_aincpathhelp    (cat
  586.         " Installer áe smestiti include fajlove za asembler"
  587.         " u poddirektorijume (lvo, devices i libraries)"
  588.         " direktorijuma koji odaberete.\n\n"
  589.     ))
  590.  
  591.     (set #t_fdpath        " Gde dräite Vaãe FD fajlove?")
  592.     (set #t_fdpathhelp    (cat
  593.         " FD fajlovi su fajlovi koji opisuju funkcije biblioteke"
  594.         " i ureâaja. Mogu se koristiti sa programom 'lvo', i"
  595.         " i mogu biti korisni ako piãete hardverske drajvere.\n\n"
  596.     ))
  597.  
  598.     (set #t_cincpath    " Gde se nalaze Vaãi C include fajlovi?")
  599.     (set #t_cincpathhelp    (cat
  600.         " Installer áe smestiti opãte include fajlove za C"
  601.         " u poddirektorijume (clib, devices i libraries)"
  602.         " direktorijuma koji odaberete.\n\n"
  603.     ))
  604.  
  605.     (set #t_emodpath    "  Gde se nalaze Vaãi E modul fajlovi?")
  606.     (set #t_emodpathhhelp    (cat
  607.         " Installer áe smestiti E modul fajlove u direktorijum"
  608.         " i poddirektorijume (devices i libraries)"
  609.         " direktorijuma koji odaberete.\n\n"
  610.     ))
  611.  
  612.     (set #t_adeincpath    " Gde äelite da smestite ADE gcc include fajlove?")
  613.     (set #t_adeincpathhelp    (cat
  614.         " gcc-u trebaju neki dodatni fajlovi da bi naãao koje registre"
  615.         " da koristi pri pozivu AHI funkcija. Te informacije se nalaze"
  616.         " u ovim fajlovima, koji áe biti kopirani u direktorijume "
  617.         " inline, pragmas i proto.\n\n"
  618.     ))
  619.  
  620.     (set #t_sasincpath    " Gde äelite da smestite SAS/C (i DICE) include fajlove?")
  621.     (set #t_sasincpathhelp    (cat
  622.         " SAS/C-u (i DICE-u) trebaju neki dodatni fajlovi da bi naãao"
  623.         " koje registre da koristi pri pozivu AHI funkcija. Te informacije"
  624.         " se nalaze u ovim fajlovima, koji áe biti kopirani u pragmas"
  625.         " i proto direktorijume.\n\n"
  626.     ))
  627.  
  628.     (set #t_stormincpath    " Gde äelite da smestite StormC include fajlove?")
  629.     (set #t_stormincpathhelp (cat
  630.         " StormC-u neki dodatni fajlovi da bi naãao koje registre"
  631.         " da koristi pri pozivu AHI funkcija. Te informacije se nalaze"
  632.         " u ovim fajlovima, koji áe biti kopirani u pragma i proto"
  633.         " direktorijume.\n\n"
  634.     ))
  635.  
  636.     (set #t_ahidevhelp    (cat
  637.         " ahi.device je srce AHI audio"
  638.         " sistema. Ovo je jedini deo za koga"
  639.         " drugi programi znaju.\n\n"
  640.     ))
  641.  
  642.     (set #t_runaddmodes    (cat
  643.         " Upravo startujem AddAudioModes da bih"
  644.         " osveäio bazu audio modova."
  645.     ))
  646.  
  647.  
  648.     (set #t_overwritemode1
  649.         " Veá postoji fajl sa opisom audio moda ")
  650.     (set #t_overwritemode2 " prisutan u ")
  651.     (set #t_overwritemode3    (cat
  652.         ".\n\n"
  653.         " Da li äelite da zapiãem preko njega?"
  654.         " Sve promene koje ste naàinili na njemu biáe izgubljene!"
  655.     ))
  656. ))
  657.  
  658. (if (= @language "suomi")
  659. (    ; Translated by Petteri Kallio <k140734@cs.tut.fi>
  660.     (set #t_welcome        (cat
  661.         " Tervetuloa AHI-asennukseen. AHI on äänijärjestelmä,"
  662.         " jonka avulla saat käyttöösi Amigan standardin äänipiirin"
  663.         " (Paula) lisäksi myös useita varsinaisia äänikortteja."
  664.         " Tämä on AHI:n neljäs (4.) versio."
  665.     ))
  666.     (set #t_oldinstaller    (cat
  667.         " Käytössäsi on Installer-ohjelman vahentunut versio."
  668.         " Voit jatkaa asennusta, mutta asennuksessa saattaa"
  669.         " mennä jotain pieleen. Todennäköisesti tarvitsen"
  670.         " Installer-ohjelman version 43.3 tai uudemman."
  671.         " Haluaisitko kuitenkin jatkaa asennusta?"
  672.     ))
  673.     (set #t_oldinstallerhelp (cat
  674.         " Käyttämäsi Installer-ohjelma on liian vanha versio."
  675.         " Löydät uudemman version vaikkapa Internetistä, esim."
  676.         " Aminetistä, hakemistosta util/misc. Tuoreimman"
  677.         " Installer-ohjelman nimi on  \"Installer-43_3.lha\":\n"
  678.         " <URL:ftp://ftp.germany.aminet.org/pub/aminet/util/misc/Installer-43_3.lha"
  679.     
  680.     ))
  681.     (set #t_installaborted    "Asennus keskeytetty.")
  682.  
  683.     (set #t_installing    "Asennan... ")
  684.     (set #t_installingdocs    "Asennan kehitysympäristön ohjetiedostoja")
  685.     (set #t_installingincs    "Asennan include-tiedostoja")
  686.     (set #t_installingsrc    "Asennan esimerkkilähdekoodeja")
  687.     (set #t_nofiles        "Ei asennettavia tiedostoja.")
  688.  
  689.     (set #t_nohelp        "Ohjeita ei ole saatavissa.")
  690.  
  691.     (set #t_parts        "Mitkä osat AHI:sta haluat asentaa?")
  692.     (set #t_system        "Järjestelmätiedostot")
  693.     (set #t_prefs        "Asetusohjelma")
  694.     (set #t_audio        "AUDIO-käsittelijä");
  695.     (set #t_userdoc        "Käyttäjän ohjeet")
  696.     (set #t_a-developer    "Sovellusten kehitysympäristön tiedostot")
  697.     (set #t_d-developer    "Ajurien kehitysympäristön tiedostot")
  698.     (set #t_userhelp    (cat
  699.         "Järjestelmätiedostot:\n"
  700.         " Tämä on AHI-äänijärjestelmän sydän."
  701.         " Se täytyy olla asennettuna, ennen kuin AHI:n muut"
  702.         " osat toimivat.\n\n"
  703.         "Asetusohjelma:\n"
  704.         " Asetusohjelmaa käytetään muokkaamaan AHI:n lukuisia asetuksia.\n"
  705.         " Asetusohjelma vaatii, että BGUI on asennettu.\n\n"
  706.         "AUDIO-käsittelijä:\n"
  707.         " Mahdollistaa äänitiedostojen toiston ja tallennuksen"
  708.         " 'copy'-komennon avulla.\n\n"
  709.         "Käyttäjän ohjeet:\n"
  710.         " AmigaGuide®-muotoinen tiedosto, jossa selvitetään"
  711.         " AHI-äänijärjestelmä ja sen eri osat.\n\n"
  712.     ))
  713.     (set #t_devhelp        (cat
  714.         "Sovellusten kehitysympäristön tiedostot:\n"
  715.         " Autodocit, include-tiedostot, esimerkkilähdekoodit jne."
  716.         " Tarpeellisia jos haluat käyttää AHI-äänijärjestelmää"
  717.         " omissa sovellusohjelmissasi.\n\n"
  718.         "Ajurien kehitysympäristön tiedostot:\n"
  719.         " Autodocit, esimerkkilähdekoodit jne. Tarpeellisia ainoastaan"
  720.         " jos aiot tehdä uusia äänikorttiajureita.\n\n"
  721.     ))
  722.  
  723.  
  724.     (set #t_languages    (cat
  725.         "Mille kielille haluat tehdä asennuksen?"
  726.         " Valmiskielenä on englanti."))
  727.     (set #t_languageshelp    (cat
  728.         " Jos oma kielesi ei ole listassa, AHI:n tekijä olisi"
  729.         " mielissään, jos sinä voisit tehdä käännöksen omalle"
  730.         " kielellesi. Käännä tiedostot User/Catalogs/NewCatalog.ct"
  731.         " ja User/Catalogs/NewPrefsCatalog.ct, ja lähetä ne"
  732.         " tähän osoitteeseen:\n"
  733.         " lcs@lysator.liu.se\n\n"
  734.     ))
  735.  
  736.     (set #t_drivers        (cat
  737.         "Mitkä AHI-ajurit haluat asentaa?"
  738.         " Asenna ainoastaan tarvitsemasi ajurit."))
  739.     (set #t_drivershelp    (cat
  740.         "Delfina:\n"
  741.         " Delfina Classic/Lite -äänikortti.\n\n"
  742.         "Filesave:\n"
  743.         " Kirjoita/lue äänitiedosto tiedostoon.\n\n"
  744.         "Melody MPEG:\n"
  745.         " Melody MPEG-äänikortti.\n\n"
  746.         "Paula:\n"
  747.         " Amigan perusäänijärjestelmä.\n\n"
  748.         "Prelude:\n"
  749.         " Prelude-äänikortti.\n\n"
  750.         "Toccata:\n"
  751.         " Toccata-äänikortti.\n\n"
  752.         "Wavetools:\n"
  753.         " Wavetools-äänikortti.\n\n"
  754.     ))
  755.  
  756.     (set #t_CPUver        "Mitkä versiot ohjelmakoodista haluat asentaa?")
  757.     (set #t_CPUverhelp    (cat
  758.         " 68020-prosessorille optimoidut versiot ovat nopeampia ja"
  759.         " usein pienikokoisempia kuin 68000-prosessorille tehdyt"
  760.         " perusversiot. AHI-äänijärjestelmän 68000-versioissa on"
  761.         " vähemmän ominaisuuksia ja huonompi äänenlaatu."
  762.         " 68020-versiot kannattaa asentaa, jos käytössäsi"
  763.         " on vähintään 68020-prosessorilla varustettu kone.\n"
  764.         " 68060-versio välttää hitaita 64-bittisiä jakolaskuja. Älä"
  765.         " asenna tätä versiota ellei sinulla ole 68060-prosessoria!\n\n"
  766.     ))
  767.  
  768.     (set #t_devfiles    "Mitkä kehitysympäristön tiedostot haluat asentaa?")
  769.     (set #t_devdocs        "Autodocit ja AHI-kehitysympäristön ohjeet")
  770.     (set #t_source        "Esimerkkilähdekoodit")
  771.     (set #t_asm        "Assemblerin include-tiedostot")
  772.     (set #t_cgen        "Yleiset C include-tiedostot")
  773.     (set #t_e        "E moduletiedostot")
  774.     (set #t_fd        "FD-tiedostot")
  775.     (set #t_ade        "Ylimääräiset ADE gcc include-tiedostot")
  776.     (set #t_sas        "Ylimääräiset SAS/C (ja DICE) include-tiedostot")
  777.     (set #t_storm        "Ylimääräiset StormC include-tiedostot")
  778.     (set #t_devfileshelp    (cat
  779.         "Autodocit ja AHI-kehitysympäristön ohjeet:\n"
  780.         " AHI:n autodocit ja ohjelmointisäännöt.\n\n"
  781.         "Esimerkkilähdekoodit:\n"
  782.         " Joitain esimerkkiohjelmia, suurin osa C-kielellä, mutta"
  783.         " mukana on myös muutamia assembler-lähdekoodeja.\n\n"
  784.         "Assemblerin include-tiedostot:\n"
  785.         " Include-tiedostot, jotka tarvitset ohjelmoidessasi assemblerilla.\n\n"
  786.         "Yleiset C include-tiedostot:\n"
  787.         " Include-tiedostot, jotka tarvitset ohjelmoidessasi C-kielellä.\n\n"
  788.         "E moduletiedostot:\n"
  789.         " Moduletiedostot, AmigaE-ohjelmointia varten.\n\n"
  790.         "FD-tiedostot:\n"
  791.         " Voidaan käyttää 'lvo'-työkalun kanssa, tai jos teet"
  792.         " laitteistoajurin C-kielellä.\n\n"
  793.         "Ylimääräiset ADE gcc include-tiedostot:\n"
  794.         " Gcc:n erikoisinclude-tiedostot (inline, proto jne).\n\n"
  795.         "Ylimääräiset SAS/C (ja DICE) include-tiedostot:\n"
  796.         " SAS/C:n erikoisinclude-tiedostot (pragma, proto jne)."
  797.         " Toimivat osin myös DCC:n kanssa.\n\n"
  798.         "Ylimääräiset StormC include-tiedostot:\n"
  799.         " StormC:n erikoisinclude-tiedostot (pragma, proto jne).\n\n"
  800.     ))
  801.  
  802.  
  803.     (set #t_nodevs
  804.         "Viitettä Devs: ei löytynyt. Kokeile ylempää käyttäjän tasoluokitusta.")
  805.     (set #t_noc
  806.         "Viitettä C: ei löytynyt. Kokeile ylempää kättäjän tasoluokitusta.")
  807.     (set #t_noprefs
  808.         "Hakemistoa Sys:Prefs ei löytynyt. Kokeile ylempää käyttäjän tasoluokitusta.")
  809.     (set #t_nol
  810.         "Viitettä L: ei löytynyt. Kokeile ylempää käyttäjän tasoluokitusta.")
  811.     (set #t_devspath    "Minne haluat asentaa järjestelmätiedostot?")
  812.     (set #t_devspathhelp    (cat
  813.         " Valitsemaasi hakemistoon tulee olla viite Devs:."
  814.         " Asennusohjelma kopioi ahi.device-tiedoston, laitteistoajurit"
  815.         " ja audiotilojen kuvaustiedostot tähän hakemistoon."
  816.         " Ajureille ja audiotilatiedostoille luodaan alihakemistot.\n\n"
  817.     ))
  818.     (set #t_cpath        "Minne haluat asentaa ohjelman 'AddAudioModes'?")
  819.     (set #t_cpathhelp    (cat
  820.         " AddAudioModes on pieni komentoriviohjelma, jonka avulla"
  821.         " voit muokata audiotiloja sisältävää tietokantaa"
  822.         " (aivan kuten näyttötilojen tietokanta).\n"
  823.         " Komentoriviohjelmat sijaitsevat yleensä hakemistossa C:.\n\n"
  824.     ))
  825.  
  826.  
  827.     (set #t_localepath    "Minne haluat asentaa sanastot?")
  828.     (set #t_localepathhelp    (cat
  829.         " Valitsemaasi hakemistoon tulee olla viite Locale:."
  830.         " Asennusohjelma kopioi valitsemasi sanastot tässä"
  831.         " hakemistossa oleviin alihakemistoihin.\n\n"
  832.     ))
  833.  
  834.     (set #t_prefspath    "Minne haluat asentaa asetusohjelman?")
  835.     (set #t_prefspathhelp    (cat
  836.         " Asetusohjelman avulla voit määrittää AHI-äänijärjestelmän"
  837.         " asetukset. Voit valita haluamasi laitteiston, fyysiset"
  838.         " ulostulot ja sisäänmenot jne. Asetusohjelmat sijaitsevat"
  839.         " normaalisti hakemistossa Sys:Prefs/.\n"
  840.         " Tämä ohjelma vaatii toimiakseen BGUI:n.\n\n"
  841.     ))
  842.  
  843.     (set #t_audiohelp    (cat
  844.         " AUDIO-käsittelijää käytetään kiinnitettäessä laitetta AUDIO:."
  845.         " Kopioimalla tiedostoja tälle laitteelle tai tältä laitteelta"
  846.         " voit toistaa ja tallentaa raakaa äänitietoa, IFF-AIFF- tai"
  847.         " IFF-AIFC-tiedostoja.\n\n"
  848.     ))
  849.  
  850.     (set #t_lpath        "Minne haluat asentaa AUDIO-käsittelijän?")
  851.     (set #t_lpathhelp    (cat
  852.         #t_audiohelp
  853.         " Käsittelijät sijaitsevat yleensä hakemistossa L:.\n\n"
  854.     ))
  855.  
  856.     (set #t_dosdevpath    "Minne haluat asentaa AUDIO-kiinnitystiedoston?")
  857.     (set #t_dosdevpathhelp    (cat
  858.         #t_audiohelp
  859.         " Kiinnitystiedostot sijaitsevat yleensä hakemistossa"
  860.         " Devs:DOSDrivers, jos laitteet kiinnitetään käynnistyksen"
  861.         " yhteydessä. Muutoin kiinnitystiedostot sijaitsevat"
  862.         " varmaankin hakemistossa SYS:Storage/DOSDrivers.\n\n"
  863.     ))
  864.  
  865.     (set #t_dosdriver    "Haluatko kiinnittää laitteen AUDIO: käynnistyksen yhteydessä?")
  866.     (set #t_dosdriverhelp    (cat
  867.         " Jos haluat, laite AUDIO: voidaan kiinnittää käynnistyksen"
  868.         " yhteydessä. Tämä poistaa tarpeen kiinnittää laite erikseen"
  869.         " aina kun haluat käyttää sitä. Kiinnitys ei vie paljoakaan"
  870.         " muistia, joten on suositeltavaa, että valitset 'Kyllä'.\n\n"
  871.     ))
  872.  
  873.     (set #t_userdocpath    "Minne haluat asentaa käyttäjän ohjeet?")
  874.     (set #t_userdocpathhelp    (cat
  875.         " Ohjeet ovat AmigaGuide®-tiedostona, jossa kuvataan"
  876.         " AHI-äänijärjestelmää ja sen osia.\n\n"
  877.     ))
  878.  
  879.     (set #t_srcpath        (cat
  880.         " Minne haluat asentaa esimerkkilähdekoodit?"
  881.         " Valitsemaasi hakemistoon luodaan alihakemisto AHI."
  882.     ))
  883.     (set #t_srcpathhelp    (cat
  884.         " Esimerkkilähdekoodit, sekä C- että assembler-kieliset,"
  885.         " tallennetaan alihakemistoon AHI. Kaikki entiset tiedostot"
  886.         " hakemistossa AHI tuhotaan!\n\n"
  887.     ))
  888.     (set #t_oldsrc        (cat
  889.         " Siellä on jo alihakemisto AHI."
  890.         " Kaikki tiedostot alihakemistossa AHI poistetaan."
  891.     ))
  892.  
  893.     (set #t_devdocspath    " Minne haluat asentaa kehitysympäristön ohjeet?")
  894.     (set #t_devdocspathhelp    (cat
  895.         " Asennusohjelma sijoittaa autodocit ja AHI-kehitysympäristön"
  896.         " ohjeet valitsemaasi hakemistoon.\n\n"
  897.     ))
  898.  
  899.     (set #t_aincpath    " Missä sijaitsevat assemblerisi include-tiedostot?")
  900.     (set #t_aincpathhelp    (cat
  901.         " Asennusohjelma sijoittaa assemblerin include-tiedostot"
  902.         " valitsemasi hakemiston alihakemistoihin (lvo, devices ja"
  903.         " libraries).\n\n"
  904.     ))
  905.  
  906.     (set #t_fdpath        " Missä sijaitsevat FD-tiedostosi?")
  907.     (set #t_fdpathhelp    (cat
  908.         " FD-tiedostot kuvaavat kirjaston tai laitteen toimintoja."
  909.         " Niitä voidaan käyttää 'lvo'-ohjelman kanssa, ja niistä"
  910.         " voi olla hyötyä kirjoittaessasi laitteistoajureita.\n\n"
  911.     ))
  912.  
  913.     (set #t_cincpath    " Missä sijaitsevat C-kääntäjäsi include-tiedostot?")
  914.     (set #t_cincpathhelp    (cat
  915.         " Asennusohjelma sijoittaa yleiset C-kääntäjän include-tiedostot"
  916.         " valitsemasi hakemiston alihakemistoihin (clib, devices"
  917.         " ja libraries).\n\n"
  918.     ))
  919.  
  920.     (set #t_emodpath    " Missä sijaitsevat E moduletiedostosi?")
  921.     (set #t_emodpathhhelp    (cat
  922.         " Asennusohjelma sijoittaa E moduletiedostot valitsemasi"
  923.         " hakemiston alihakemistoihin (devices ja libraries).\n\n"
  924.     ))
  925.  
  926.     (set #t_adeincpath    " Minne haluat sijoittaa ADE gcc include-tiedostot?")
  927.     (set #t_adeincpathhelp    (cat
  928.         " Gcc tarvitsee muutamia ylimääräisiä tiedostoja"
  929.         " tietääkseen mitä rekistereitä voidaan käyttää"
  930.         " kutsuttaessa AHI-funktioita. Tämä tieto on"
  931.         " tiedostoissa, jotka kopioidaan alihakemistoihin"
  932.         " inline, pragmas ja proto.\n\n"
  933.     ))
  934.  
  935.     (set #t_sasincpath    " Minne haluat sijoitta SAS/C (ja DICE) include-tiedostot?")
  936.     (set #t_sasincpathhelp    (cat
  937.         " SAS/C (ja DICE) tarvitsevat muutamia ylimääräisiä"
  938.         " tiedostoja tietääkseen mitä rekistereitä voidaan"
  939.         " käyttää kutsuttaessa AHI-funktioita. Tämä tieto on"
  940.         " tiedostoissa, jotka kopioidaan alihakemistoihin"
  941.         " pragmas ja proto.\n\n"
  942.     ))
  943.  
  944.     (set #t_stormincpath    " Minne haluat sijoittaa StormC include-tiedostot?")
  945.     (set #t_stormincpathhelp (cat
  946.         " StormC tarvitsee muutamia ylimääräisiä tiedostoja"
  947.         " tietääkseen mitä rekistereitä voidaan käyttää"
  948.         " kutsuttaessa AHI-funktioita. Tämä tieto on tiedostoissa,"
  949.         " jotka kopioidaan alihakemistoihin pragma ja proto.\n\n"
  950.     ))
  951.  
  952.     (set #t_ahidevhelp    (cat
  953.         " Ahi.device on AHI-äänijärjestelmän sydän."
  954.         " Tämä on ainoa osa, joka näkyy muille ohjelmille.\n\n"
  955.     ))
  956.  
  957.     (set #t_runaddmodes    (cat
  958.         " Ajan komennon AddAudioModes luodakseni"
  959.         " audiotilatietokannan."
  960.     ))
  961.  
  962.  
  963.     (set #t_overwritemode1
  964.         " Audiotilakuvauksesta on jo olemassa kopio ")
  965.     (set #t_overwritemode2 " tiedostossa ")
  966.     (set #t_overwritemode3    (cat
  967.         ".\n\n"
  968.         " Kirjoitetaanko päälle?"
  969.         " Kaikki audiotilaan tekemäsi muutokset tulevat katoamaan!"
  970.     ))
  971.  
  972. ))
  973.  
  974. (if (= @language "ÃeÓtina")
  975. (    ; Tranlated by Vit Sindlar <sindlarv@hotmail.com>
  976.  
  977.     (set #t_welcome        (cat
  978.         " VÉtejte pÒi instalaci AHI. AHI je pÒesmÅrovatelnÙ"
  979.         " audio syst×m, kterÙ je moÚno pouÚÉvat jak s vestavÅnÙm"
  980.         " zvukovÙm Ãipem (Paula), tak i nÅkolika zvukovÙmi kartami."
  981.         " AktuÁlnÉ verze tohoto software je 4."
  982.     ))
  983.     (set #t_oldinstaller    (cat
  984.         " VlastnÉte starou verzi programu Installer. Tento"
  985.         " instalaÃnÉ skript pravdÅpodobnÅ vyÚaduje verzi 43.3"
  986.         " a vyÓÓÉ. Instalace bude pokraÃovat, ale nelze zaruÃit,"
  987.         " Úe vÓe bude fungovat, tak jak mÁ.\n"
  988.         " Opravdu si pÒejete pokraÃovat?"
  989.     ))
  990.     (set #t_oldinstallerhelp (cat
  991.         " Verze programu Installer, kterÙ pouÚÉvÁte je pÒÉliÓ"
  992.           " starÁ. NejnovÅjÓÉ verzi naleznete vÚdy na Internetu,"
  993.         " napÒ. na Aminetu, v adresÁÒi util/misc. NÁzev archÉvu"
  994.         " je \"Installer-43_3.lha\":\n"
  995.         " <URL:ftp://ftp.germany.aminet.org/pub/aminet/util/misc/Installer-43_3.lha"
  996.  
  997.     ))
  998.     (set #t_installaborted    "Instalace byla pÒeruÓena.")
  999.  
  1000.     (set #t_installing        "ProbÉhÁ instalace ")
  1001.     (set #t_installingdocs    "Instaluje se dokumentace pro vÙvojÁÒe")
  1002.     (set #t_installingincs    "InstalujÉ se includes")
  1003.     (set #t_installingsrc    "InstalujÉ se pÒÉklady zdrojovÙch kÏdÊ")
  1004.     (set #t_nofiles        "Soubory pro instalaci chybÉ.")
  1005.  
  1006.     (set #t_nohelp        "Pro tuto poloÚku nenÉ dostupnÁ nÁpovÅda.")
  1007.  
  1008.     (set #t_parts        "Kter× ÃÁsti AHI si pÒejete nainstalovat?")
  1009.     (set #t_system        "Syst×mov× soubory")
  1010.     (set #t_prefs        "Program pro nastavenÉ")
  1011.     (set #t_audio        "AUDIO handler");
  1012.     (set #t_userdoc        "UÚivatelskÁ dokumentace")
  1013.     (set #t_a-developer    "Soubory pro vÙvojÁÒe programÊ")
  1014.     (set #t_d-developer    "Soubory pro vÙvojÁÒe ovladaÃÊ")
  1015.     (set #t_userhelp    (cat
  1016.         "Syst×mov× soubory:\n"
  1017.         " Syst×mov× soubory - to je vlastnÅ jÁdro cel×ho AHI a musÉ"
  1018.         " bÙt vÚdy nainstalovÁny. Jsou nutn× pro sprÁvnou funkci"
  1019.         " vÓech ostatnÉch komponent.\n\n"
  1020.         "Program pro nastavenÉ:\n"
  1021.         " Program pro nastavenÉ - je pouÚÉvÁn pro pohodln× nastavenÉ"
  1022.         " mnoha voleb AHI. Tato ÃÁst AHI vyÚaduje ke sv× Ãinnosti"
  1023.         " nainstalovanou knihovnu BGUI.library.\n\n"
  1024.         "AUDIO handler:\n"
  1025.         " UmoÚÎuje pÒehrÁvat a zaznamenÁvat samply velice jednoduÓe"
  1026.         " pomocÉ pÒÉkazu 'copy'.\n\n"
  1027.         "UÚivatelskÁ dokumentace:\n"
  1028.         " Dokumentace napsanÁ ve standardnÉm formÁtu AmigaGuide®,"
  1029.         " kterÁ popisuje AHI a ostatnÉ ÃÁsti syst×mu.\n\n"
  1030.     ))
  1031.     (set #t_devhelp        (cat
  1032.         "Soubory pro vÙvojÁÒe programÊ:\n"
  1033.         " Autodocs, includes, pÒÉkladov× zdrojov× kÏdy atd."
  1034.         " Je nutn× nainstalovat pouze v pÒÉpadÅ, Úe budete vyvÉjet"
  1035.         " svÊj vlastnÉ program s podporou AHI.\n\n"
  1036.         "Soubory pro vÙvojÁÒe ovladaÃÊ:\n"
  1037.         " Autodocs, pÒÉkladovÙ zdrojovÙ kÏd atd. Je nutn× pouze"
  1038.         " v pÒÉpadÅ, Úe budete vyvÉjet ovladaÃe pro zvukov× karty.\n\n"
  1039.     ))
  1040.  
  1041.     (set #t_gui        (cat
  1042.         " Kterou z verzÉ programÊ pro nastavenÉ byste si pÒÁli"
  1043.         " nainstalovat?"
  1044.     ))
  1045.     (set #t_guihelp        (cat
  1046.         " Zvolte typ GUI, kter×mu dÁvÁte pÒednost, prosÉm.\n\n"
  1047.     ))
  1048.     (set #t_guibgui        "Verze v BGUI")
  1049.     (set #t_guimui        "Verze v MUI")
  1050.  
  1051.     (set #t_icon         "Kter× ikony si pÒejete nainstalovat?")
  1052.     (set #t_iconstd        "StandardnÉ 4-barevn×")
  1053.     (set #t_iconmwb        "8-barevn× typu MagicWB")
  1054.     (set #t_iconhelp    (cat
  1055.         " Zde si zvolÉte druh ikony, kterou si pÒejete pouÚÉvat pro"
  1056.         " program pro nastavenÉ. Autorem ikony typu MagicWB je Erol Ismael.\n\n"
  1057.     ))
  1058.  
  1059.     (set #t_languages    (cat
  1060.         "KterÙ z jazykÊ si pÒejete nainstalovat?"
  1061.         " StandardnÉ je angliÃtina."))
  1062.     (set #t_languageshelp    (cat
  1063.         " JestliÚe chybÉ zrovna pÒeklad do VaÓeho jazyka, autor AHI"
  1064.         " by VÁs velmi rÁd poÚÁdal o pÒeklad. Upravte a pÒeloÚte"
  1065.         " soubory User/Catalogs/NewCatalog.ct a User/Catalogs/NewPrefsCatalog.ct"
  1066.         " a poÓlete je na tuto adresu:\n"
  1067.         " lcs@lysator.liu.se\n\n"
  1068.         " Je dobr× se nejdÒÉve zeptat autora, zda jiÚ nÅkdo pÒeklad"
  1069.         " do VaÓeho jazyka nedÅlÁ.\n\n"
  1070.  
  1071.     ))
  1072.  
  1073.     (set #t_drivers        (cat
  1074.         "Kter× z ovladaÃÊ AHI si pÒejete nainstalovat?"
  1075.         " Je lepÓÉ si nainstalovat pouze ovladaÃe, kter× skuteÃnÅ potÒebujete."))
  1076.     (set #t_drivershelp    (cat
  1077.         "Delfina:\n"
  1078.         " ZvukovÁ karta Delfina s DSP.\n\n"
  1079.         "Filesave:\n"
  1080.         " UmoÚnÉ ÃtenÉ/zÁpis samplÊ do souboru.\n\n"
  1081.         "Melody MPEG:\n"
  1082.         " ZvukovÁ karta Melody MPEG.\n\n"
  1083.         "Paula:\n"
  1084.         " StandardnÉ zvukovÙ Ãip Amigy.\n\n"
  1085.         "Prelude:\n"
  1086.         " ZvukovÁ karta Prelude.\n\n"
  1087.         "Toccata:\n"
  1088.         " ZvukovÁ karta Toccata.\n\n"
  1089.         "Wavetools:\n"
  1090.         " ZvukovÁ karta Wavetools.\n\n"
  1091.     ))
  1092.  
  1093.     (set #t_CPUver        "Pro jakÙ procesor si pÒejete nainstalovat programy?")
  1094.     (set #t_CPUverhelp        (cat
  1095.         " Programy optimalizovan× pro 68020 a vyÓÓÉ jsou mnohem"
  1096.         " rychlejÓÉ a Ãasto tak× menÓÉ neÚ verze pro obyÃejnou 68000."
  1097.         " NavÉc, v pÒÉpadÅ AHI, majÉ verze pro 68000 m×nÅ funkcÉ"
  1098.         " a pracujÉ s omezenou kvalitou zvuku. SkuteÃnÅ VÁm doporuÃuji"
  1099.         " zvolit pÒi instalaci verze programÊ optimalizovan× pro 68020.\n"
  1100.         " Verze pro 68060 neprovÁdÉ pomalÁ 64-bitovÁ dÅlenÉ. Pokud tedy"
  1101.         " tento procesor nevlastnÉte, neinstalujte ji!\n\n"
  1102.     ))
  1103.  
  1104.     (set #t_devfiles    "Kter× ze souborÊ pro vÙvojÁÒe si pÒejete nainstalovat?")
  1105.     (set #t_devdocs    "Autodocs a dokumentaci pro vÙvojÁÒe k AHI")
  1106.     (set #t_source        "PÒÉkladov× zdrojov× kÏdy")
  1107.     (set #t_asm        "Includes pro assembler")
  1108.     (set #t_cgen        "Includes pro obecn× C")
  1109.     (set #t_e            "Moduly pro E")
  1110.     (set #t_fd        "Soubory FD")
  1111.     (set #t_ade        "Dodatkov× includes pro ADE gcc")
  1112.     (set #t_sas        "Dodatkov× includes pro SAS/C (a DICE)")
  1113.     (set #t_storm        "Dodatkov× includes pro StormC")
  1114.     (set #t_devfileshelp    (cat
  1115.         "Autodocs a dokumentaci pro vÙvojÁÒe k AHI:\n"
  1116.         " Autodocs a pravidla pro programovÁnÉ AHI.\n\n"
  1117.         "PÒÉkladov× zdrojov× kÏdy:\n"
  1118.         " NÅkolik pÒÉkladovÙch programÊ, nejÃastÅji jsou napsÁny v C,"
  1119.         " ale je tam i nÅkolik kouskÊ v assembleru.\n\n"
  1120.         "Includes pro assembler:\n"
  1121.         " Includes, kter× jsou tÒeba pro programovÁnÉ v assembleru.\n\n"
  1122.         "Includes pro obecn× C:\n"
  1123.         " Includes, kter× jsou tÒeba pro programovÁnÉ v C.\n\n"
  1124.         "Moduly pro E:\n"
  1125.         " Moduly, kter× jsou nutn× pro AmigaE.\n\n"
  1126.         "Soubory FD:\n"
  1127.         " Pro pouÚitÉ s programem 'lvo', nebo v pÒÉpadÅ, Úe budete"
  1128.         " psÁt ovladaàpro zvukovou kartu v C.\n\n"
  1129.         "Dodatkov× includes pro ADE gcc:\n"
  1130.         " SpeciÁlnÉ includes pro gcc (inline, proto atd).\n\n"
  1131.         "Dodatkov× includes pro SAS/C (a DICE):\n"
  1132.         " SpeciÁlnÉ includes pro SAS/C (pragmas, proto atd)."
  1133.         " Budou fungovat tak× s DCC, ale bez volÁnÉ tagÊ.\n\n"
  1134.         "Dodatkov× includes pro StormC:\n"
  1135.         " SpeciÁlnÉ includes pro StormC (pragmas, proto atd).\n\n"
  1136.     ))
  1137.  
  1138.  
  1139.     (set #t_nodevs            (cat
  1140.         "Nelze nal×zt pÒiÒazenÉ Devs:. PouÚijte vyÓÓÉ mÏd instalace"
  1141.         " (pro zkuÓenÅjÓÉ uÚivatele)."
  1142.     ))
  1143.     (set #t_noc            (cat
  1144.         "Nelze nal×zt pÒiÒazenÉ C:. PouÚijte vyÓÓÉ mÏd instalace"
  1145.         " (pro zkuÓenÅjÓÉ uÚivatele)."
  1146.     ))
  1147.     (set #t_noprefs        (cat
  1148.         "Nelze nal×zt adresÁÒ Sys:Prefs. PouÚijte vyÓÓÉ mÏd instalace"
  1149.         " (pro zkuÓenÅjÓÉ uÚivatele)."
  1150.     ))
  1151.     (set #t_nol            (cat
  1152.         "Nelze nal×zt pÒiÒazenÉ L:. PouÚijte vyÓÓÉ mÏd instalace"
  1153.         " (pro zkuÓenÅjÓÉ uÚivatele)."
  1154.     ))
  1155.     (set #t_devspath    "Kam si pÒejete nainstalovat syst×mov× soubory?")
  1156.     (set #t_devspathhelp    (cat
  1157.         " AdresÁÒ, kterÙ zvolÉte musÉ bÙt souÃÁstÉ pÒiÒazenÉ Devs:."
  1158.         " PÒi instalaci se tam nakopÉruje ahi.device, ovladaÃe pro"
  1159.         " hardware a soubory pro jednotliv× audio mÏdy."
  1160.         " Pro ovladaÃe a soubory s jednotlivÙmi audio mÏdy budou"
  1161.         " vytvoÒeny podadresÁÒe.\n\n"
  1162.     ))
  1163.     (set #t_cpath        "Kam si pÒejete nainstalovat AddAudioModes?")
  1164.     (set #t_cpathhelp        (cat
  1165.         " AddAudioModes je pÒÉkaz, kterÙ slouÚÉ ke sprÁvÅ databÁze"
  1166.         " audio mÏdÊ (podobnost s databÁzÉ rozliÓovacÉch mÏdÊ je"
  1167.         " ÃistÅ nÁhodnÁ :-). PÒÉkaz by mÅl bÙt normÁlnÅ umÉstÅn"
  1168.         " v pÒiÒazenÉ C:.\n\n"
  1169.     ))
  1170.  
  1171.  
  1172.     (set #t_localepath    "Kam si pÒejete nainstalovat lokalizaÃnÉ katalogy?")
  1173.     (set #t_localepathhelp    (cat
  1174.         " AdresÁÒ, kterÙ zvolÉte musÉ bÙt souÃÁstÉ pÒiÒazenÉ Locale:."
  1175.         " PÒi instalaci se tam nakopÉrujÉ lokalizaÃnÉ katalogy, kter×"
  1176.         " jste si vybrali. PochopitelnÅ budou jednotliv× katalogy"
  1177.         " nakopÉrovÁny do pÒÉsluÓnÙch adresÁÒÊ s danÙm jazykem.\n\n"
  1178.     ))
  1179.  
  1180.     (set #t_prefspath    "Kam si pÒejete nainstalovat program pro nastavenÉ?")
  1181.     (set #t_prefspathhelp    (cat
  1182.         " Program pro nastavenÉ VÁm umoÚnÉ nakonfigurovat AHI pÒesnÅ"
  1183.         " dle moÚnostÉ poÃÉtaÃe. Je zde moÚno nastavit, kterou z ÃÁstÉ"
  1184.         " zvukov×ho hardware si pÒejete pouÚÉvat, jak× vstupy a vÙstupy"
  1185.         " atd. Programy pro nastavenÉ se obvykle nachÁzÉ v adresÁÒi"
  1186.         " SYS:Prefs/.\n"
  1187.         " Tento program vyÚaduje balÉk BGUI nebo MUI, coÚ zÁleÚÉ na"
  1188.         " volbÅ verze programu pro nastavenÉ.\n\n"
  1189.     ))
  1190.  
  1191.     (set #t_audiohelp        (cat
  1192.         " AUDIO handler se pouÚÉvÁ k pÒipojenÉ zaÒÉzenÉ AUDIO:. PouhÙm"
  1193.         " kopÉrovÁnÉm souborÊ z a do tohoto zaÒÉzenÉ je moÚno pÒehrÁvat"
  1194.         " a zaznamenÁvat soubory v RAW, IFF-AIFF nebo IFF-AIFC.\n\n"
  1195.     ))
  1196.  
  1197.     (set #t_lpath        "Kam si pÒejete nainstalovat AUDIO handler?")
  1198.     (set #t_lpathhelp        (cat
  1199.         #t_audiohelp
  1200.         " Handlery jsou obvykle umÉstÅny v pÒiÒazenÉ L:.\n\n"
  1201.     ))
  1202.  
  1203.     (set #t_dosdevpath    "Kam si pÒejete nainstalovat pÒipojovacÉ soubor AUDIO (mount)?")
  1204.     (set #t_dosdevpathhelp    (cat
  1205.         #t_audiohelp
  1206.         " PÒipojovacÉ soubory (mount) jsou obvykle umÉstÅny v adresÁÒi"
  1207.         " Devs:DOSDrivers, v pÒÉpadÅ, Úe si je pÒejete pÒipojovat hned"
  1208.         " po startu. Pokud si to nepÒejete pak by mÅly bÙt pÒesunuty"
  1209.         " do adresÁÒe SYS:Storage/DOSDrivers.\n\n"
  1210.     ))
  1211.  
  1212.     (set #t_dosdriver    "PÒejete si mÉt aktivovÁn AUDIO handler ihned startu?")
  1213.     (set #t_dosdriverhelp    (cat
  1214.         " V pÒÉpadÅ, Úe si to pÒejete, je moÚno nainstalovat AHI tak,"
  1215.         " Úe zaÒÉzenÉ AUDIO: bude aktivnÉ ihned po startu. Tento zpÊsob"
  1216.         " ÓetÒÉ Ãas, kterÙ jinak musÉte vynaloÚit na proklikÁnÉ se do"
  1217.         " SYS:Storage/DOSDrivers, a nevyÚaduje mnoho pamÅti. Z tohoto"
  1218.         " dÊvodu se doporuÃuje odpovÅdÅt 'Ano'.\n\n"
  1219.     ))
  1220.  
  1221.     (set #t_userdocpath    "Kam si pÒejete nainstalovat uÚivatelskou dokumentaci?")
  1222.     (set #t_userdocpathhelp    (cat
  1223.         " Toto je soubor v formÁtu AmigaGuide®, kterÙ popisuje vlastnosti"
  1224.         " audio syst×mu AHI.\n\n"
  1225.     ))
  1226.  
  1227.     (set #t_srcpath        (cat
  1228.         " Kam si pÒejete nainstalovat pÒÉkladov× zdrojov× kÏdy?"
  1229.         " Na tomto mÉstÅ bude vytvoÒen adresÁÒ s nÁzvem AHI."
  1230.     ))
  1231.     (set #t_srcpathhelp        (cat
  1232.         " PÒÉkladov× zdrojov× kÏdy (v jazyce C i assembleru) budou"
  1233.         " uloÚeny v podadresÁÒi nazvan×m AHI. Jak×koliv soubory, kter×"
  1234.         " jsou aktuÁlnÅ uloÚeny v adresÁÒi AHI, budou smazÁny!\n\n"
  1235.     ))
  1236.     (set #t_oldsrc            (cat
  1237.         " Na tomto mÉstÅ jiÚ adresÁÒ AHI existuje."
  1238.         " VÓechny soubory v nÅm budou smazÁny."
  1239.     ))
  1240.  
  1241.     (set #t_devdocspath    " Kam si pÒejete nainstalovat dokumentaci pro vÙvojÁÒe?")
  1242.     (set #t_devdocspathhelp    (cat
  1243.         " Autodocs a dokumentace pro vÙvojÁÒe budou uloÚeny"
  1244.         " do adresÁÒe, kterÙ si zvolÉte.\n\n"
  1245.     ))
  1246.  
  1247.     (set #t_aincpath    " Kde mÁte uloÚen× sv× includes pro assembler?")
  1248.     (set #t_aincpathhelp    (cat
  1249.         " Includes pro assembler budou uloÚeny do svÙch podadresÁÒÊ"
  1250.         " (lvo, devices a libraries) na disku, kterÙ si zvolÉte.\n\n"
  1251.     ))
  1252.  
  1253.     (set #t_fdpath        " Kam si pÒejete uloÚit soubory FD?")
  1254.     (set #t_fdpathhelp        (cat
  1255.         " FD jsou soubory popisujÉcÉ funkce knihoven a zaÒÉzenÉ"
  1256.         " PouÚÉvajÉ se s programem 'lvo' a jsou tak× uÚiteÃn×"
  1257.         " pÒi vytvÁÒenÉ ovladaÃÊ pro hardware.\n\n"
  1258.     ))
  1259.  
  1260.     (set #t_cincpath    " Kde mÁte uloÚen× sv× includes pro C?")
  1261.     (set #t_cincpathhelp    (cat
  1262.         " Includes pro obecn× C budou uloÚeny do svÙch"
  1263.         " podadresÁÒÊ (clib, devices a libraries) na disku, kterÙ"
  1264.         " si zvolÉte.\n\n"
  1265.     ))
  1266.  
  1267.     (set #t_emodpath    " Kde mÁte uloÚen× sv× moduly pro E?")
  1268.     (set #t_emodpathhhelp    (cat
  1269.         " Moduly pro E budou uloÚeny do sv×ho adresÁÒe a jeho"
  1270.         " podadresÁÒÊ (devices a libraries) na disku, kterÙ si"
  1271.         " zvolÉte.\n\n"
  1272.     ))
  1273.  
  1274.     (set #t_adeincpath    " Kam si pÒejete uloÚit includes pro ADE gcc?")
  1275.     (set #t_adeincpathhelp    (cat
  1276.         " gcc potÒebuje extra soubory k tomu, aby si zjistil, kter×"
  1277.         " registry vyuÚÉvat pÒi volÁnÉ funkcÉ AHI. Tato informace"
  1278.         " je obsaÚena v souborech, kter× budou kopÉrovÁny do adresÁÒÊ"
  1279.         " inline, pragmas a proto.\n\n"
  1280.     ))
  1281.  
  1282.     (set #t_sasincpath    " Kam si pÒejete uloÚit includes pro SAS/C (a DICE)?")
  1283.     (set #t_sasincpathhelp    (cat
  1284.         " SAS/C (a DICE) potÒebuje extra soubory k tomu, aby si zjistil,"
  1285.         " kter× registry vyuÚÉvat pÒi volÁnÉ funkcÉ AHI. Tato informace"
  1286.         " je obsaÚena v souborech, kter× budou kopÉrovÁny do adresÁÒÊ"
  1287.         " inline, pragmas a proto.\n\n"
  1288.     ))
  1289.  
  1290.     (set #t_stormincpath    " Kam si pÒejete uloÚit includes pro StormC?")
  1291.     (set #t_stormincpathhelp (cat
  1292.         " StormC potÒebuje extra soubory k tomu, aby si zjistil, kter×"
  1293.         " registry vyuÚÉvat pÒi volÁnÉ funkcÉ AHI. Tato informace"
  1294.         " je obsaÚena v souborech, kter× budou kopÉrovÁny do adresÁÒÊ"
  1295.         " inline, pragmas a proto.\n\n"
  1296.     ))
  1297.  
  1298.     (set #t_ahidevhelp        (cat
  1299.         " ahi.device je jÁdrem cel×ho audio"
  1300.         " syst×mu AHI. Toto je jedinÁ ÃÁst tohoto"
  1301.         " syst×mu, o kter× 'vÉ' ostatnÉ programy.\n\n"
  1302.     ))
  1303.  
  1304.     (set #t_runaddmodes        (cat
  1305.         " Bude spuÓtÅn pÒÉkaz AddAudioModes k tomu,"
  1306.         " aby se obnovila databÁze audio mÏdÊ."
  1307.     ))
  1308.  
  1309.  
  1310.     (set #t_overwritemode1
  1311.         " V tomto adresÁÒi jiÚ soubor s popisem audio mÏdu existuje ")
  1312.     (set #t_overwritemode2 " v ")
  1313.     (set #t_overwritemode3    (cat
  1314.         ".\n\n"
  1315.         " SkuteÃnÅ si to pÒejete pÒepsat?"
  1316.         " VeÓkerÁ zmÅnÅnÁ nastavenÉ budou ztracena!"
  1317.     ))
  1318. ))
  1319.  
  1320. ;(if (= @language "svenska")
  1321. ;(    ; Translated by Your Name <your@email.adr>
  1322. ;))
  1323.  
  1324.  
  1325. ;**
  1326. ;** Procedures
  1327. ;**
  1328.  
  1329. (procedure P_INSTDRIVER #pi_audioname #pi_modename
  1330. (
  1331.     (set #pi_drvpath (tackon #devspath "AHI/"))
  1332.     (set #pi_modepath (tackon #devspath "AudioModes/"))
  1333.     (if (not (exists #pi_drvpath))
  1334.         (makedir #pi_drvpath)
  1335.     )
  1336.     (if (not (exists #pi_modepath))
  1337.         (makedir #pi_modepath)
  1338.     )
  1339.  
  1340.     (if (exists (tackon "User/Devs/AHI" (cat #pi_audioname #ver68k)))
  1341.     (
  1342.         (set #pi_audionamesrc (cat #pi_audioname #ver68k))
  1343.     )
  1344.     (
  1345.         (set #pi_audionamesrc #pi_audioname)
  1346.     ))
  1347.  
  1348.     (copylib
  1349.         (help (cat #t_drivershelp @copylib-help))
  1350.         (prompt (cat #t_installing #pi_drvpath #pi_audionamesrc))
  1351.         (source (tackon "User/Devs/AHI" #pi_audionamesrc))
  1352.         (dest #pi_drvpath)
  1353.         (newname #pi_audioname)
  1354.         (confirm)
  1355.     )
  1356.  
  1357.     (set #pt_copymode 0)
  1358.     (if (exists (tackon #pi_modepath #pi_modename))
  1359.     (if (exists (tackon #pi_modepath #pi_modename))
  1360.     (
  1361. ;        (if (askbool
  1362. ;            (prompt    (cat #t_overwritemode1
  1363. ;                #pi_modename
  1364. ;                #t_overwritemode2
  1365. ;                #pi_drvpath
  1366. ;                #t_overwritemode3
  1367. ;            ))
  1368. ;            (default 1)
  1369. ;            (help #t_drivershelp)
  1370. ;        )
  1371. ;        (
  1372.             (set #pt_copymode 1)
  1373. ;        ))
  1374.     ))
  1375.     ( ; else (exists)
  1376.         (set #pt_copymode 1)
  1377.     ))
  1378.     (if (= #pt_copymode 1)
  1379.     (
  1380.         (copyfiles 
  1381.             (prompt (cat #t_installing #pi_modepath #pi_modename))
  1382.             (source (tackon "User/Devs/AudioModes" #pi_modename))
  1383.             (dest #pi_modepath)
  1384.         )
  1385.     ))
  1386. ))
  1387.  
  1388. (procedure P_INSTCATALOG #pi_language
  1389. (
  1390.     (set #pi_dest (tackon (tackon #localepath "Catalogs") #pi_language))
  1391.     (copyfiles 
  1392.         (prompt (cat #t_installing (tackon #pi_dest #pi_language)))
  1393.         (source (tackon "User/Catalogs" #pi_language))
  1394.         (dest #pi_dest)
  1395.         (all)
  1396.     )
  1397. ))
  1398.  
  1399. ;** 
  1400. ;** Main installation procedure starts here...
  1401. ;**
  1402.  
  1403. (set    #system        1    ;System files
  1404.     #prefs        2    ;Preferences program
  1405.     #audio        4    ;The AHI handler
  1406.     #userdoc    8    ;User documentation
  1407.     #a-developer    16    ;App. programmers developer files
  1408.     #d-developer    32    ;Drv. programmers developer files
  1409. )
  1410. (set    #delfina    1    ;Sound card drivers
  1411.     #filesave    2
  1412.     #melody        4
  1413.     #paula        8
  1414.     #prelude    16
  1415.     #toccata    32
  1416.     #wavetools    64
  1417. )
  1418.  
  1419. (set    #devdocs    1    ;Autodocs and programming guidelines
  1420.     #source        2    ;Example source code
  1421.     #asm        4    ;Assembler include files
  1422.     #cgen        8    ;Generic C include files
  1423.     #e        16    ;E module files
  1424.     #fd        32    ;FD-files
  1425.     #ade        64    ;ADE gcc include files
  1426.     #sas        128    ;SAS/C include files
  1427.     #storm        256    ;StormC include files
  1428. )
  1429.  
  1430. ;**
  1431. ;** Make sure we're using a recent version of the installer
  1432. ;**
  1433.  
  1434. (if (< @installer-version (+ (* 43 65536) 3))
  1435. (
  1436.     (if (not (askbool
  1437.         (prompt #t_oldinstaller)
  1438.         (help #t_oldinstallerhelp)
  1439.     ))
  1440.     (
  1441.         (abort (cat #t_installaborted "\n\n" #t_oldinstallerhelp))
  1442.     ))
  1443. ))
  1444.  
  1445. ;**
  1446. ;** Welcome!
  1447. ;**
  1448.  
  1449. (welcome #t_welcome)
  1450.  
  1451. ;**
  1452. ;** Find out which parts should be installed
  1453. ;**
  1454.  
  1455. (set #default 0 #helptext "")
  1456. (set #parts 0)
  1457.  
  1458. (if (exists "User")
  1459. (
  1460.     (set #helptext (cat #helptext #t_userhelp))
  1461.     (set #default (bitor #default #system #prefs #audio #userdoc))
  1462. )
  1463. ( ; else
  1464.     (set #t_system "")
  1465.     (set #t_prefs "")
  1466.     (set #t_audio "")
  1467.     (set #t_userdoc "")
  1468.  
  1469. ))
  1470.  
  1471. (if (exists "Developer")
  1472. (
  1473.     (set #helptext (cat #helptext #t_devhelp))
  1474.     (set #default (bitor #default #a-developer #d-developer))
  1475. )
  1476. ( ; else
  1477.     (set #t_a-developer "")
  1478.     (set #t_d-developer "")
  1479. ))
  1480.  
  1481. (if (= #default 0)
  1482.     (abort #t_nofiles)
  1483. )
  1484.  
  1485. (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  1486.  
  1487. ;**
  1488. ;**  Ask which parts should be installed
  1489. ;**
  1490.  
  1491. (if (= @user-level 0)
  1492. (
  1493.     (set #parts #default)
  1494. )
  1495. ( ; Average or Expert
  1496.     (set #parts (askoptions
  1497.         (prompt #t_parts)
  1498.         (help (cat #helptext @askoptions-help))
  1499.         (choices #t_system #t_prefs #t_audio #t_userdoc #t_a-developer #t_d-developer)
  1500.         (default #default)
  1501.     ))
  1502. ))
  1503.  
  1504. ;**
  1505. ;**  Which GUI system?
  1506. ;**
  1507.  
  1508. (set    #gui_bgui    0    ;Use BGUI
  1509.     #gui_mui    1    ;Use MUI
  1510. )
  1511.  
  1512. (set #gui #gui_bgui)
  1513.  
  1514. (if (bitand #parts #prefs)
  1515.     (set #gui (askchoice
  1516.         (prompt #t_gui)
  1517.         (help (cat #t_guihelp @askchoice-help))
  1518.         (choices #t_guibgui #t_guimui)
  1519.         (default #gui))
  1520.     )
  1521. )    
  1522.  
  1523. (if (= #gui #gui_bgui)
  1524.     (set #prefssrc "AHI_BGUI")
  1525. )
  1526. (if (= #gui #gui_mui)
  1527.     (set #prefssrc "AHI_MUI")
  1528. )
  1529.  
  1530.  
  1531. ;**
  1532. ;**  Which icon?
  1533. ;**
  1534.  
  1535. (set    #icon_std    0
  1536.     #icon_mwb    1
  1537. )
  1538.  
  1539. (set #icon #icon_std)
  1540.  
  1541. (if (<> (getenv "MagicWB") "")
  1542.     (set #icon #icon_mwb)
  1543. )
  1544.  
  1545. (if (bitand #parts (bitor #prefs #audio))
  1546.     (set #icon (askchoice
  1547.         (prompt #t_icon)
  1548.         (help (cat #t_iconhelp @askchoice-help))
  1549.         (choices #t_iconstd #t_iconmwb)
  1550.         (default #icon))
  1551.     )
  1552. )    
  1553.  
  1554.  
  1555. ;**
  1556. ;**  Activate the AUDIO handler at boot time?
  1557. ;**
  1558.  
  1559. (set #dosdevpath    "Devs:DOSDrivers")
  1560.  
  1561. (if (and (bitand #parts #audio) (>= @user-level 1))
  1562.     (if (not (askbool
  1563.         (prompt #t_dosdriver)
  1564.         (help (cat #t_dosdriverhelp @askbool-help))
  1565.         (default 1)))
  1566.     (
  1567.         (set #dosdevpath "SYS:Storage/DOSDrivers")
  1568.     ))
  1569. )
  1570.  
  1571. ;**
  1572. ;**  Ask which languages should be installed
  1573. ;**
  1574.  
  1575. (set    #dansk        1
  1576.     #deutsch    2
  1577.     #español    4
  1578.     #français    8
  1579.     #greek        16
  1580.     #íslenska    32
  1581.     #italiano    64
  1582.     #nederlands    128
  1583.     #norsk        256
  1584.     #polski        512
  1585.     #português    1024
  1586.     #srpski        2048
  1587.     #suomi        4096
  1588.     #svenska    8192
  1589.     #ÃeÓtina    16384
  1590.  
  1591. )
  1592.  
  1593. (set    #t_dansk    "Dansk"
  1594.     #t_deutsch    "Deutsch"
  1595.     #t_español    "Español"
  1596.     #t_français    "Français"
  1597.     #t_greek    "Greek"
  1598.     #t_íslenska    "Íslenska"
  1599.     #t_italiano    "Italiano"
  1600.     #t_nederlands    "Nederlands"
  1601.     #t_norsk    "Norsk"
  1602.     #t_polski    "Polski"
  1603.     #t_português    "Português"
  1604.     #t_srpski    "Srpski"
  1605.     #t_suomi    "Suomi"
  1606.     #t_svenska    "Svenska"
  1607.     #t_ÃeÓtina    "ãeÓtina"
  1608. )
  1609.  
  1610.  
  1611. (set    #default 0)
  1612.  
  1613. (if (not (exists "User/Catalogs/dansk"))    (set #t_dansk ""))
  1614. (if (not (exists "User/Catalogs/deutsch"))    (set #t_deutsch ""))
  1615. (if (not (exists "User/Catalogs/español"))    (set #t_español ""))
  1616. (if (not (exists "User/Catalogs/français"))    (set #t_français ""))
  1617. (if (not (exists "User/Catalogs/greek"))    (set #t_greek ""))
  1618. (if (not (exists "User/Catalogs/íslenska"))    (set #t_íslenska ""))
  1619. (if (not (exists "User/Catalogs/italiano"))    (set #t_italiano ""))
  1620. (if (not (exists "User/Catalogs/nederlands"))    (set #t_nederlands ""))
  1621. (if (not (exists "User/Catalogs/norsk"))    (set #t_norsk ""))
  1622. (if (not (exists "User/Catalogs/polski"))    (set #t_polski ""))
  1623. (if (not (exists "User/Catalogs/português"))    (set #t_português ""))
  1624. (if (not (exists "User/Catalogs/srpski"))    (set #t_srpski ""))
  1625. (if (not (exists "User/Catalogs/suomi"))    (set #t_suomi ""))
  1626. (if (not (exists "User/Catalogs/svenska"))    (set #t_svenska ""))
  1627. (if (not (exists "User/Catalogs/ÃeÓtina"))    (set #t_ÃeÓtina ""))
  1628.  
  1629. (if (and (exists "LOCALE:Languages/dansk.language" (noreq)) (not (= #t_dansk "")))
  1630.     (set #default (bitor #default #dansk))
  1631. )
  1632. (if (and (exists "LOCALE:Languages/deutsch.language" (noreq)) (not (= #t_deutsch "")))
  1633.     (set #default (bitor #default #deutsch))
  1634. )
  1635. (if (and (exists "LOCALE:Languages/español.language" (noreq)) (not (= #t_español "")))
  1636.     (set #default (bitor #default #español))
  1637. )
  1638. (if (and (exists "LOCALE:Languages/français.language" (noreq)) (not (= #t_français "")))
  1639.     (set #default (bitor #default #français))
  1640. )
  1641. (if (and (exists "LOCALE:Languages/greek.language" (noreq)) (not (= #t_greek "")))
  1642.     (set #default (bitor #default #greek))
  1643. )
  1644. (if (and (exists "LOCALE:Languages/íslenska.language" (noreq)) (not (= #t_íslenska "")))
  1645.     (set #default (bitor #default #íslenska))
  1646. )
  1647. (if (and (exists "LOCALE:Languages/italiano.language" (noreq)) (not (= #t_italiano "")))
  1648.     (set #default (bitor #default #italiano))
  1649. )
  1650. (if (and (exists "LOCALE:Languages/nederlands.language" (noreq)) (not (= #t_nederlands "")))
  1651.     (set #default (bitor #default #nederlands))
  1652. )
  1653. (if (and (exists "LOCALE:Languages/norsk.language" (noreq)) (not (= #t_norsk "")))
  1654.     (set #default (bitor #default #norsk))
  1655. )
  1656. (if (and (exists "LOCALE:Languages/polski.language" (noreq)) (not (= #t_polski "")))
  1657.     (set #default (bitor #default #polski))
  1658. )
  1659. (if (and (exists "LOCALE:Languages/português.language" (noreq)) (not (= #t_portugues "")))
  1660.     (set #default (bitor #default #portugues))
  1661. )
  1662. (if (and (exists "LOCALE:Languages/srpski.language" (noreq)) (not (= #t_srpski "")))
  1663.     (set #default (bitor #default #srpski))
  1664. )
  1665. (if (and (exists "LOCALE:Languages/suomi.language" (noreq)) (not (= #t_suomi "")))
  1666.     (set #default (bitor #default #suomi))
  1667. )
  1668. (if (and (exists "LOCALE:Languages/svenska.language" (noreq)) (not (= #t_svenska "")))
  1669.     (set #default (bitor #default #svenska))
  1670. )
  1671. (if (and (exists "LOCALE:Languages/ÃeÓtina.language" (noreq)) (not (= #t_ÃeÓtina "")))
  1672.     (set #default (bitor #default #ÃeÓtina))
  1673. )
  1674.  
  1675. (if (bitand #parts (bitor #system #prefs))
  1676.     (if (= @user-level 0)
  1677.     (
  1678.         (set #languages #default)
  1679.     )
  1680.     ( ; Average or Expert
  1681.         (set #languages (askoptions
  1682.             (prompt #t_languages)
  1683.             (help (cat #t_languageshelp @askoptions-help))
  1684.             (choices #t_dansk #t_deutsch  #t_español #t_français
  1685.                      #t_greek #t_íslenska #t_italiano #t_nederlands
  1686.                      #t_norsk #t_polski #t_português #t_srpski
  1687.                      #t_suomi #t_svenska #t_ÃeÓtina)
  1688.             (default #default)
  1689.         ))
  1690.     ))
  1691. )
  1692.  
  1693.  
  1694. ;**
  1695. ;** Find out which drivers should be installed (if any)
  1696. ;**
  1697.  
  1698. (set    #default #filesave)
  1699. (set    #drivers 0)
  1700.  
  1701. (if (exists "Libs:delfina.library" (noreq))
  1702.     (set #default (bitor #default #delfina))
  1703. )
  1704. (if (<> (database "graphics-mem") 0)            ; Test for not Draco...
  1705.     (set #default (bitor #default #paula))
  1706. )
  1707. (if (exists "Libs:prelude.library" (noreq))
  1708.     (set #default (bitor #default #prelude))
  1709. )
  1710.  
  1711. (if (exists "Libs:toccata.library" (noreq))
  1712.     ; Don't set if emulation library found!
  1713.     (if (< (bitand (getversion "Libs:toccata.library") 65535) 1000)
  1714.         (set #default (bitor #default #toccata))
  1715.     )
  1716. )
  1717. (if (exists "Devs:dad_audio.device" (noreq)) 
  1718.     (set #default (bitor #default #wavetools))
  1719. )
  1720.  
  1721. (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  1722.  
  1723. (if (bitand #parts #system)
  1724.     (if (= @user-level 0)
  1725.     (
  1726.         (set #drivers #default)
  1727.     )
  1728.     ( ; Average or Expert
  1729.         (set #drivers (askoptions
  1730.             (prompt #t_drivers)
  1731.             (help (cat #t_drivershelp @askoptions-help))
  1732.             (choices "Delfina" "Filesave" "Melody MPEG" "Paula" "Prelude" "Toccata" "Wavetools")
  1733.             (default #default)
  1734.         ))
  1735.     ))
  1736. )
  1737.  
  1738. ;**
  1739. ;**  Install 020-versions of the binaries?
  1740. ;**
  1741.  
  1742. (set #ver68k    "")
  1743. (set #default    1)
  1744.  
  1745. (if (patmatch "68000|68010" (database "cpu"))
  1746. (
  1747.     (set #default 0)
  1748. ))
  1749.  
  1750. (if (patmatch "68060" (database "cpu"))
  1751. (
  1752.     (set #default 2)
  1753. ))
  1754.  
  1755. (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  1756.  
  1757. (if (and (bitand #parts #system) (>= @user-level 1))
  1758.     (set #default (askchoice
  1759.         (prompt #t_CPUver)
  1760.         (help (cat #t_CPUverhelp @askbool-help))
  1761.         (choices "68000" "68020-68040" "68060")
  1762.         (default #default)))
  1763. )
  1764.  
  1765. (if (= #default 0)
  1766. (
  1767.     (set #ver68k ".000")
  1768. ))
  1769. (if (= #default 2)
  1770. (
  1771.     (set #ver68k ".060")
  1772. ))
  1773.  
  1774.  
  1775. ;**
  1776. ;** Find out which developer files should be installed
  1777. ;**
  1778.  
  1779. (set    #default (bitor #devdocs #source #asm #cgen #fd))
  1780. (set    #devfiles 0)
  1781.  
  1782. (if (exists "ADE:" (noreq))
  1783.     (set #default (bitor #default #ade))
  1784. )
  1785.  
  1786. (if (exists "SC:" (noreq))
  1787.     (set #default (bitor #default #sas))
  1788. )
  1789.  
  1790. (if (exists "STORMC:" (noreq))
  1791.     (set #default (bitor #default #storm))
  1792. )
  1793.  
  1794. (if (exists "EMODULES:" (noreq))
  1795.     (set #default (bitor #default #e))
  1796. )
  1797.  
  1798. (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  1799.  
  1800. (if (bitand #parts (bitor #a-developer #d-developer))
  1801. (
  1802.     (if (= @user-level 0)
  1803.     (
  1804.         (set #devfiles #default)
  1805.     )
  1806.     ( ; Average or Expert
  1807.         (set #devfiles (askoptions
  1808.             (prompt #t_devfiles)
  1809.             (help (cat #t_devfileshelp @askoptions-help))
  1810.             (choices #t_devdocs #t_source #t_asm #t_cgen #t_e #t_fd #t_ade #t_sas #t_storm )
  1811.             (default #default)
  1812.         ))
  1813.     ))
  1814. ))
  1815.  
  1816. ;**
  1817. ;** Find out where the files should be installed
  1818. ;**
  1819.  
  1820. (set #devspath        "Devs:")
  1821. (set #cpath        "C:")
  1822. (set #prefspath        "SYS:Prefs/")
  1823. (set #lpath        "L:")
  1824. (set #localepath    "Locale:")
  1825.  
  1826. (set #incpath        @default-dest)
  1827. (set #adeincpath    "ADE:include/")
  1828. (set #sasincpath    "Include:")
  1829. (set #stormincpath    "StormC:Include")
  1830. (set #fdpath        "FD:")
  1831. (set #emodpath        "EMODULES:")
  1832.  
  1833. (if (exists #devspath (noreq)) (set #devspath (expandpath #devspath)))
  1834. (if (exists #cpath (noreq)) (set #cpath (expandpath #cpath)))
  1835. (if (exists #prefspath (noreq)) (set #prefspath (expandpath #prefspath)))
  1836. (if (exists #lpath (noreq)) (set #lpath (expandpath #lpath)))
  1837. (if (exists #localepath (noreq)) (set #localepath (expandpath #localepath)))
  1838.  
  1839. (if (not (exists "Help:" (noreq)))
  1840. (
  1841.     (if (bitand #parts #prefs)
  1842.         (set #userdocpath #prefspath)
  1843.         (set #userdocpath @default-dest)
  1844.     )
  1845. )
  1846. (
  1847.     (if (>= #osversion 38)
  1848.     (
  1849.         (set #userdocpath "Help:")
  1850.     ))
  1851. ))
  1852.  
  1853. (if (bitand #devfiles #ade)
  1854. (
  1855.     (set #incpath "ADE:os-include/")
  1856. ))
  1857. (if (exists "Include:" (noreq))
  1858. (
  1859.     (set #incpath "Include:")
  1860. ))
  1861.  
  1862. (if (= @user-level 0)
  1863. (
  1864.     (if (and (bitand #parts #system) (not (exists #devspath (noreq))))
  1865.     (
  1866.         (abort #t_nodevs)
  1867.     ))
  1868.     (if (and (bitand #parts #system) (not (exists #cpath (noreq))))
  1869.     (
  1870.         (abort #t_noc)
  1871.     ))
  1872.     (if (and (bitand #parts #prefs) (not (exists #prefspath (noreq))))
  1873.         (
  1874.         (abort #t_noprefs)
  1875.     ))
  1876.     (if (and (bitand #parts #audio) (not (exists #lpath (noreq))))
  1877.     (
  1878.         (abort #t_nol)
  1879.     ))
  1880.  
  1881.     (set #srcpath (tackon @default-dest "AHI/"))
  1882.     (if (exists #srcpath)
  1883.     (
  1884.         (delete #srcpath
  1885.             (all)
  1886.             (optional "force")
  1887.         )
  1888.     ))
  1889.  
  1890.     (set #devdocspath (tackon #srcpath "docs/"))
  1891.     (if (=     #userdocpath @default-dest)
  1892.     (
  1893.         (set #userdocpath #devdocspath)
  1894.     ))
  1895.     (if (= #incpath @default-dest)
  1896.     (
  1897.         (set #incpath (tackon #srcpath "include/"))
  1898.     ))
  1899.     (set #aincpath #incpath)
  1900.     (set #cincpath #incpath)
  1901.     (if (not (exists #sasincpath (noreq)))
  1902.     (
  1903.         (set #sasincpath #cincpath)
  1904.     ))
  1905.     (if (not (exists #stormincpath (noreq)))
  1906.     (
  1907.         (set #stormincpath #cincpath)
  1908.     ))
  1909.     (if (not (exists #fdpath (noreq)))
  1910.     (
  1911.         (set #fdpath (tackon #incpath "fd/"))
  1912.     ))
  1913.     (if (not (exists #emodpath (noreq)))
  1914.     (
  1915.         (set #emodpath #cincpath)
  1916.     ))
  1917.  
  1918.     (makedir #srcpath (infos))
  1919.     (set @default-dest #srcpath)
  1920.  
  1921. ; Match the number of completes in the 'else' section...
  1922.     (complete (/ #complete 10)) (set #complete (+ #complete (* 15 #completeadd)))
  1923.  
  1924. )
  1925. ( ; Average or Expert
  1926.  
  1927.     (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  1928.  
  1929.     (if (and (bitand #parts #system)
  1930.              (or (not (exists #devspath (noreq))) (= @user-level 2) ))
  1931.     (
  1932.         (set #devspath (askdir 
  1933.             (prompt #t_devspath)
  1934.             (help (cat #t_devspathhelp @askdir-help))
  1935.             (default #devspath)
  1936.         ))
  1937.     ))
  1938.  
  1939.     (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  1940.  
  1941.     (if (and (bitand #parts #system)
  1942.              (or (not (exists #cpath (noreq))) (= @user-level 2) ))
  1943.     (
  1944.         (set #cpath (askdir 
  1945.             (prompt #t_cpath)
  1946.             (help (cat #t_cpathhelp @askdir-help))
  1947.             (default #cpath)
  1948.         ))
  1949.     ))
  1950.  
  1951.     (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  1952.  
  1953.     (if (and (<> #languages 0)
  1954.              (or (not (exists #localepath (noreq))) (= @user-level 2) ))
  1955.     (
  1956.         (set #localepath (askdir 
  1957.             (prompt #t_localepath)
  1958.             (help (cat #t_localepathhelp @askdir-help))
  1959.             (default #localepath)
  1960.         ))
  1961.     ))
  1962.  
  1963.  
  1964.  
  1965.     (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  1966.  
  1967.     (if (and (bitand #parts #prefs)
  1968.              (or (not (exists #prefspath (noreq))) (= @user-level 2) ))
  1969.     (
  1970.         (set #prefspath (askdir 
  1971.             (prompt #t_prefspath)
  1972.             (help (cat #t_prefspathhelp @askdir-help))
  1973.             (default #prefspath)
  1974.         ))
  1975.     ))
  1976.  
  1977.     (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  1978.  
  1979.     (if (and (bitand #parts #audio)
  1980.              (or (not (exists #lpath (noreq))) (= @user-level 2) ))
  1981.     (
  1982.         (set #lpath (askdir 
  1983.             (prompt #t_lpath)
  1984.             (help (cat #t_lpathhelp @askdir-help))
  1985.             (default #lpath)
  1986.         ))
  1987.     ))
  1988.  
  1989.     (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  1990.  
  1991.     (if (and (bitand #parts #audio)
  1992.              (or (not (exists #dosdevpath (noreq))) (= @user-level 2) ))
  1993.     (
  1994.         (set #dosdevpath (askdir 
  1995.             (prompt #t_dosdevpath)
  1996.             (help (cat #t_dosdevpathhelp @askdir-help))
  1997.             (default #dosdevpath)
  1998.         ))
  1999.     ))
  2000.  
  2001.     (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  2002.  
  2003.     (if (and (bitand #parts #userdoc)
  2004.              (or (= #userdocpath @default-dest) (= @user-level 2) ))
  2005.     (
  2006.         (set #userdocpath (askdir 
  2007.             (prompt #t_userdocpath)
  2008.             (help (cat #t_userdocpathhelp @askdir-help))
  2009.             (default #userdocpath)
  2010.         ))
  2011.     ))
  2012.  
  2013.     (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  2014.  
  2015.     (if (bitand #devfiles #source)
  2016.     (
  2017.         (set #srcpath (askdir 
  2018.             (prompt #t_srcpath)
  2019.             (help (cat #t_srcpathhelp @askdir-help))
  2020.             (default @default-dest)
  2021.         ))
  2022.         (set #srcpath (tackon #srcpath "AHI/"))
  2023.         (if (exists #srcpath)
  2024.         (
  2025.             (delete #srcpath
  2026.                 (all)
  2027.                 (confirm average)
  2028.                 (optional "force")
  2029.                 (prompt #t_oldsrc)
  2030.                 (help #t_nohelp)
  2031.             )
  2032.         ))
  2033.         (makedir #srcpath (infos))
  2034.         (set @default-dest #srcpath)
  2035.     ))
  2036.  
  2037.     (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  2038.  
  2039.     (if (bitand #devfiles #devdocs)
  2040.     (
  2041.         (set #devdocspath (askdir 
  2042.             (prompt #t_devdocspath)
  2043.             (help (cat #t_devdocspathhelp @askdir-help))
  2044.             (default (tackon @default-dest "docs/"))
  2045.             (newpath)
  2046.         ))
  2047.     ))
  2048.  
  2049.     (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  2050.  
  2051.     (if (bitand #devfiles #asm)
  2052.     (
  2053.         (set #aincpath (askdir 
  2054.             (prompt #t_aincpath)
  2055.             (help (cat #t_aincpathhelp @askdir-help))
  2056.             (default #incpath)
  2057.         ))
  2058.  
  2059.     ))
  2060.  
  2061.     (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  2062.  
  2063.     (if (bitand #devfiles #fd)
  2064.     (
  2065.         (if (not (exists #fdpath (noreq)))
  2066.         (
  2067.             (set #fdpath (tackon #incpath "fd/"))
  2068.         ))
  2069.         (set #fdpath (askdir 
  2070.             (prompt #t_fdpath)
  2071.             (help (cat #t_fdpathhelp @askdir-help))
  2072.             (default #fdpath)
  2073.         ))
  2074.     ))
  2075.  
  2076.     (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  2077.  
  2078.     (if (bitand #devfiles #cgen)
  2079.     (
  2080.         (set #cincpath (askdir 
  2081.             (prompt #t_cincpath)
  2082.             (help (cat #t_cincpathhelp @askdir-help))
  2083.             (default #incpath)
  2084.         ))
  2085.     ))
  2086.  
  2087.     (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  2088.  
  2089.     (if (bitand #devfiles #e)
  2090.     (
  2091.         (set #emodpath (askdir 
  2092.             (prompt #t_emodpath)
  2093.             (help (cat #t_emodpathhelp @askdir-help))
  2094.             (default #emodpath)
  2095.         ))
  2096.     ))
  2097.  
  2098.     (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  2099.  
  2100.     (if (bitand #devfiles #ade)
  2101.     (
  2102.         (set #adeincpath (askdir 
  2103.             (prompt #t_adeincpath)
  2104.             (help (cat #t_adeincpathhelp @askdir-help))
  2105.             (default #adeincpath)
  2106.         ))
  2107.     ))
  2108.  
  2109.     (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  2110.  
  2111.     (if (bitand #devfiles #sas)
  2112.     (
  2113.         (set #sasincpath (askdir 
  2114.             (prompt #t_sasincpath)
  2115.             (help (cat #t_sasincpathhelp @askdir-help))
  2116.             (default #sasincpath)
  2117.         ))
  2118.     ))
  2119.  
  2120.     (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  2121.  
  2122.     (if (bitand #devfiles #storm)
  2123.     (
  2124.         (set #stormincpath (askdir 
  2125.             (prompt #t_stormincpath)
  2126.             (help (cat #t_stormincpathhelp @askdir-help))
  2127.             (default #stormincpath)
  2128.         ))
  2129.     ))
  2130. ))
  2131.  
  2132.  
  2133. ;******************************************************************************
  2134. ;**** Install *****************************************************************
  2135. ;******************************************************************************
  2136.  
  2137.  
  2138. ;**
  2139. ;** Install the prefs program
  2140. ;**
  2141.  
  2142. (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  2143. (if (bitand #parts #prefs)
  2144. (
  2145.  
  2146. ; No version checking, so user can change gui version
  2147.  
  2148.     (copyfiles
  2149.         (help (cat #t_prefspathhelp @copylib-help))
  2150.         (prompt #t_installing "AHI")
  2151.         (source (tackon "User/Prefs" #prefssrc))
  2152.         (dest #prefspath)
  2153.         (newname "AHI")
  2154.         (confirm)
  2155.     )
  2156.     (protect (tackon #prefspath "AHI") "+e")
  2157.  
  2158.  
  2159.     (if (= #icon #icon_std)
  2160.         (set #iconsrc "AHI.info")
  2161.     )
  2162.     (if (= #icon #icon_mwb)
  2163.         (set #iconsrc "AHI.MWB.info")
  2164.     )
  2165.  
  2166.     (copyfiles
  2167.         (help (cat #t_prefspathhelp @copylib-help))
  2168.         (prompt #t_installing "AHI")
  2169.         (source (tackon "User/Prefs" #iconsrc))
  2170.         (dest #prefspath)
  2171.         (newname "AHI.info")
  2172.         (confirm)
  2173.         (noposition)
  2174.     )
  2175.  
  2176.     (set @default-dest #prefspath)
  2177. ))
  2178.  
  2179. ;**
  2180. ;** Install the audio handler
  2181. ;**
  2182.  
  2183. (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  2184. (if (bitand #parts #audio)
  2185. (
  2186.     (copylib
  2187.         (help (cat #t_lpathhelp @copylib-help))
  2188.         (prompt #t_installing "AHI-Handler")
  2189.         (source "User/L/AHI-Handler")
  2190.         (dest #lpath)
  2191.         (confirm)
  2192.     )
  2193.     (protect (tackon #lpath "AHI-Handler") "+e")
  2194.  
  2195.     (copylib
  2196.         (help (cat #t_dosdevpathhelp @copylib-help))
  2197.         (prompt #t_installing "AUDIO")
  2198.         (source "User/Devs/DOSDrivers/AUDIO")
  2199.         (dest #dosdevpath)
  2200.         (confirm)
  2201.     )
  2202.  
  2203.     (if (= #icon #icon_std)
  2204.         (set #iconsrc "AUDIO.info")
  2205.     )
  2206.     (if (= #icon #icon_mwb)
  2207.         (set #iconsrc "AUDIO.MWB.info")
  2208.     )
  2209.  
  2210.     (copyfiles
  2211.         (help (cat #t_dosdevpathhelp @copylib-help))
  2212.         (prompt #t_installing "AUDIO")
  2213.         (source (tackon "User/Devs/DOSDrivers" #iconsrc))
  2214.         (dest #dosdevpath)
  2215.         (newname "AUDIO.info")
  2216.         (confirm)
  2217.         (noposition)
  2218.     )
  2219.  
  2220.     (set @default-dest #lpath)
  2221. ))
  2222.  
  2223. ;**
  2224. ;** Install the user documentation
  2225. ;**
  2226.  
  2227. (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  2228. (if (bitand #parts #userdoc)
  2229. (
  2230.     (copyfiles
  2231.         (help (cat #t_userdocpathhelp @copylib-help))
  2232.         (prompt #t_installing "ahi.guide")
  2233.         (source "User/Help/ahi.guide")
  2234.         (dest #userdocpath)
  2235.         (infos)
  2236.         (noposition)
  2237.     )
  2238.  
  2239.     (set @default-dest #userdocpath)
  2240. ))
  2241.  
  2242.  
  2243. ;**
  2244. ;** Install ahi.device, AddAudioModes and drivers
  2245. ;**
  2246.  
  2247. (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  2248. (if (bitand #parts #system)
  2249. (
  2250.  
  2251. ;** ahi.device
  2252.     (copylib
  2253.         (help (cat #t_ahidevhelp @copylib-help))
  2254.         (prompt (cat #t_installing "ahi.device" #ver68k))
  2255.         (source (cat "User/Devs/ahi.device" #ver68k))
  2256.         (dest #devspath)
  2257.         (newname "ahi.device")
  2258.         (confirm)
  2259.     )
  2260.  
  2261. ;** AddAudioModes
  2262.     (copylib
  2263.         (help (cat #t_cpathhelp @copylib-help))
  2264.         (prompt #t_installing "AddAudioModes")
  2265.         (source "User/C/AddAudioModes")
  2266.         (dest #cpath)
  2267.         (confirm)
  2268.     )
  2269.     (protect (tackon #cpath "AddAudioModes") "+e")
  2270.  
  2271. ;** Drivers
  2272.  
  2273.     (if (bitand #drivers #delfina)
  2274.         (P_INSTDRIVER "delfina.audio" "DELFINA")
  2275.     )
  2276.     (if (bitand #drivers #filesave)
  2277.         (P_INSTDRIVER "filesave.audio" "FILESAVE")
  2278.     )
  2279.     (if (bitand #drivers #melody)
  2280.         (P_INSTDRIVER "melody.audio" "MELODY")
  2281.     )
  2282.     (if (bitand #drivers #paula)
  2283.         (P_INSTDRIVER "paula.audio" "PAULA")
  2284.     )
  2285.     (if (bitand #drivers #prelude)
  2286.         (P_INSTDRIVER "prelude.audio" "PRELUDE")
  2287.     )
  2288.     (if (bitand #drivers #toccata)
  2289.         (P_INSTDRIVER "toccata.audio" "TOCCATA")
  2290.     )
  2291.     (if (bitand #drivers #wavetools)
  2292.         (P_INSTDRIVER "wavetools.audio" "WAVETOOLS")
  2293.     )
  2294.  
  2295.     (run (cat (tackon #cpath "AddAudioModes") " REMOVE")
  2296.         (prompt #t_runaddmodes)
  2297.         (help #t_nohelp)
  2298.         (confirm)
  2299.     )
  2300.  
  2301.     (set @default-dest #devspath)
  2302. ))
  2303.  
  2304.  
  2305. ;**
  2306. ;** Install the catalogs
  2307. ;**
  2308.  
  2309. (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  2310. (if (bitand #parts (bitor #system #prefs))
  2311. (
  2312. ;** Catalogs
  2313.     (if (bitand #languages #dansk)
  2314.         (P_INSTCATALOG #t_dansk)
  2315.     )
  2316.     (if (bitand #languages #deutsch)
  2317.         (P_INSTCATALOG #t_deutsch)
  2318.     )
  2319.     (if (bitand #languages #español)
  2320.         (P_INSTCATALOG #t_español)
  2321.     )
  2322.     (if (bitand #languages #français)
  2323.         (P_INSTCATALOG #t_français)
  2324.     )
  2325.     (if (bitand #languages #greek)
  2326.         (P_INSTCATALOG #t_greek)
  2327.     )
  2328.     (if (bitand #languages #íslenska)
  2329.         (P_INSTCATALOG #t_íslenska)
  2330.     )
  2331.     (if (bitand #languages #italiano)
  2332.         (P_INSTCATALOG #t_italiano)
  2333.     )
  2334.     (if (bitand #languages #nederlands)
  2335.         (P_INSTCATALOG #t_nederlands)
  2336.     )
  2337.     (if (bitand #languages #norsk)
  2338.         (P_INSTCATALOG #t_norsk)
  2339.     )
  2340.     (if (bitand #languages #polski)
  2341.         (P_INSTCATALOG #t_polski)
  2342.     )
  2343.     (if (bitand #languages #português)
  2344.         (P_INSTCATALOG #t_português)
  2345.     )
  2346.     (if (bitand #languages #srpski)
  2347.         (P_INSTCATALOG #t_srpski)
  2348.     )
  2349.     (if (bitand #languages #suomi)
  2350.         (P_INSTCATALOG #t_suomi)
  2351.     )
  2352.     (if (bitand #languages #svenska)
  2353.         (P_INSTCATALOG #t_svenska)
  2354.     )
  2355.     (if (bitand #languages #ÃeÓtina)
  2356.         (P_INSTCATALOG #t_ÃeÓtina)
  2357.     )
  2358. ))
  2359.  
  2360. ;**
  2361. ;** Install the autodocs
  2362. ;**
  2363.  
  2364. (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  2365. (if (bitand #devfiles #devdocs)
  2366. (
  2367.     (if (bitand #parts #a-developer)
  2368.         (set #pattern "~(#?sub#?)"))
  2369.  
  2370.     (if (bitand #parts #d-developer)
  2371.         (set #pattern "(#?sub#?)"))
  2372.  
  2373.     (if (and (bitand #parts #a-developer) (bitand #parts #d-developer))
  2374.         (set #pattern "#?"))
  2375.  
  2376.     (makedir #devdocspath)
  2377.     (copyfiles
  2378.         (help @copylib-help)
  2379.         (prompt #t_installingdocs )
  2380.         (source "Developer/docs/")
  2381.         (dest #devdocspath)
  2382.         (pattern #pattern)
  2383.         (confirm average)
  2384.         (infos)
  2385.         (noposition)
  2386.     )
  2387.  
  2388.     (set @default-dest #devdocspath)
  2389. ))
  2390.  
  2391. ;**
  2392. ;** Install the include files
  2393. ;**
  2394.  
  2395. (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  2396. (if (bitand #devfiles #fd)
  2397. (
  2398.     (copyfiles
  2399.         (help @copylib-help)
  2400.         (prompt #t_installingincs)
  2401.         (source "Developer/Include/FD")
  2402.         (dest #fdpath)
  2403.         (all)
  2404.     )
  2405.  
  2406.     (set @default-dest #fdpath)
  2407. ))
  2408.  
  2409. (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  2410. (if (bitand #devfiles #asm)
  2411. (
  2412.     (copyfiles
  2413.         (help @copylib-help)
  2414.         (prompt #t_installingincs)
  2415.         (source "Developer/include/Asm")
  2416.         (dest #aincpath)
  2417.         (all)
  2418.     )
  2419.     (set @default-dest #aincpath)
  2420. ))
  2421.  
  2422. (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  2423. (if (bitand #devfiles #cgen)
  2424. (
  2425.     (copyfiles
  2426.         (help @copylib-help)
  2427.         (prompt #t_installingincs)
  2428.         (source "Developer/Include/C")
  2429.         (dest #cincpath)
  2430.         (all)
  2431.     )
  2432.  
  2433.     (set @default-dest #cincpath)
  2434. ))
  2435.  
  2436. (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  2437. (if (bitand #devfiles #e)
  2438. (
  2439.     (copyfiles
  2440.         (help @copylib-help)
  2441.         (prompt #t_installingincs)
  2442.         (source "Developer/Include/E")
  2443.         (dest #emodpath)
  2444.         (all)
  2445.     )
  2446.  
  2447.     (set @default-dest #emodpath)
  2448. ))
  2449.  
  2450. (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  2451. (if (bitand #devfiles #ade)
  2452. (
  2453.     (copyfiles
  2454.         (help @copylib-help)
  2455.         (prompt #t_installingincs)
  2456.         (source "Developer/Include/ADE")
  2457.         (dest #adeincpath)
  2458.         (all)
  2459.     )
  2460.  
  2461.     (set @default-dest #adeincpath)
  2462. ))
  2463.  
  2464. (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  2465. (if (bitand #devfiles #sas)
  2466. (
  2467.     (copyfiles
  2468.         (help @copylib-help)
  2469.         (prompt #t_installingincs)
  2470.         (source "Developer/Include/SAS")
  2471.         (dest #sasincpath)
  2472.         (all)
  2473.     )
  2474.  
  2475.     (set @default-dest #sasincpath)
  2476. ))
  2477.  
  2478. (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  2479. (if (bitand #devfiles #storm)
  2480. (
  2481.     (copyfiles
  2482.         (help @copylib-help)
  2483.         (prompt #t_installingincs)
  2484.         (source "Developer/Include/Storm")
  2485.         (dest #stormincpath)
  2486.         (all)
  2487.     )
  2488.  
  2489.     (set @default-dest #stormincpath)
  2490. ))
  2491.  
  2492. ;** 
  2493. ;** Install the examples
  2494. ;**
  2495.  
  2496. (complete (/ #complete 10)) (set #complete (+ #complete #completeadd))
  2497. (if (bitand #devfiles #source)
  2498. (
  2499.     (if (bitand #parts #a-developer)
  2500.     (
  2501.         (makedir (tackon #srcpath "examples/"))
  2502.         (copyfiles
  2503.             (help @copylib-help)
  2504.             (prompt #t_installingsrc)
  2505.             (source "Developer/examples")
  2506.             (dest (tackon #srcpath "examples/"))
  2507.             (all)
  2508.         )
  2509.     ))
  2510.     (if (bitand #parts #d-developer)
  2511.     (
  2512.         (makedir (tackon #srcpath "drivers/"))
  2513.         (copyfiles
  2514.             (help @copylib-help)
  2515.             (prompt #t_installingsrc)
  2516.             (source "Developer/drivers")
  2517.             (dest (tackon #srcpath "drivers/"))
  2518.             (all)
  2519.         )
  2520.         (makedir (tackon #srcpath "support/"))
  2521.         (copyfiles
  2522.             (help @copylib-help)
  2523.             (prompt #t_installingsrc)
  2524.             (source "Developer/support")
  2525.             (dest (tackon #srcpath "support/"))
  2526.             (all)
  2527.         )
  2528.     ))
  2529.     (if (bitand #parts (bitor #a-developer #d-developer))
  2530.     (
  2531.         (copyfiles
  2532.             (help @copylib-help)
  2533.             (prompt #t_installingsrc)
  2534.             (source "")
  2535.             (dest #srcpath)
  2536.             (pattern "(COPYRIGHT|HISTORY|VERSION|ahi.readme)#?")
  2537.         )
  2538.     ))
  2539.  
  2540.     (set @default-dest #srcpath)
  2541. ))
  2542.  
  2543.  
  2544.  
  2545.  
  2546. (complete 100)
  2547. (exit)
  2548.